Check child container count in NotifyRefreshDriverCreated.

This commit is contained in:
Brian Birtles
2019-03-22 12:10:37 +01:00
committed by Roy Tam
parent ca54bbe536
commit 8a3be2de87
+1 -1
View File
@@ -233,7 +233,7 @@ void
nsSMILAnimationController::NotifyRefreshDriverCreated(
nsRefreshDriver* aRefreshDriver)
{
if (!mPauseState) {
if (!mPauseState && mChildContainerTable.Count()) {
MaybeStartSampling(aRefreshDriver);
}
}