Check child container count in NotifyRefreshDriverCreated

master
Fedor 2019-03-30 04:57:34 +03:00
parent 4b3a33f781
commit 5c36d35548
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ void
nsSMILAnimationController::NotifyRefreshDriverCreated( nsSMILAnimationController::NotifyRefreshDriverCreated(
nsRefreshDriver* aRefreshDriver) nsRefreshDriver* aRefreshDriver)
{ {
if (!mPauseState) { if (!mPauseState && mChildContainerTable.Count()) {
MaybeStartSampling(aRefreshDriver); MaybeStartSampling(aRefreshDriver);
} }
} }