mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 14:54:25 +00:00
Check child container count in NotifyRefreshDriverCreated.
This commit is contained in:
@@ -233,7 +233,7 @@ void
|
||||
nsSMILAnimationController::NotifyRefreshDriverCreated(
|
||||
nsRefreshDriver* aRefreshDriver)
|
||||
{
|
||||
if (!mPauseState) {
|
||||
if (!mPauseState && mChildContainerTable.Count()) {
|
||||
MaybeStartSampling(aRefreshDriver);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user