Check child container count in NotifyRefreshDriverCreated
parent
4b3a33f781
commit
5c36d35548
|
@ -233,7 +233,7 @@ void
|
|||
nsSMILAnimationController::NotifyRefreshDriverCreated(
|
||||
nsRefreshDriver* aRefreshDriver)
|
||||
{
|
||||
if (!mPauseState) {
|
||||
if (!mPauseState && mChildContainerTable.Count()) {
|
||||
MaybeStartSampling(aRefreshDriver);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue