diff options
author | Brian Birtles <birtles@gmail.com> | 2019-03-22 12:10:37 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-23 02:00:53 +0100 |
commit | 9d01447a2131305a022740693deaeef6585f9436 (patch) | |
tree | 4d8067dc2e56bfaf594a0fcfbcacd24a1ff1e436 /dom/smil/nsSMILAnimationController.cpp | |
parent | f8c7e321a54cad57b0e4428bc159de7a921266bc (diff) | |
download | UXP-9d01447a2131305a022740693deaeef6585f9436.tar UXP-9d01447a2131305a022740693deaeef6585f9436.tar.gz UXP-9d01447a2131305a022740693deaeef6585f9436.tar.lz UXP-9d01447a2131305a022740693deaeef6585f9436.tar.xz UXP-9d01447a2131305a022740693deaeef6585f9436.zip |
Check child container count in NotifyRefreshDriverCreated.
Diffstat (limited to 'dom/smil/nsSMILAnimationController.cpp')
-rw-r--r-- | dom/smil/nsSMILAnimationController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/smil/nsSMILAnimationController.cpp b/dom/smil/nsSMILAnimationController.cpp index 0dd616346..69956203e 100644 --- a/dom/smil/nsSMILAnimationController.cpp +++ b/dom/smil/nsSMILAnimationController.cpp @@ -233,7 +233,7 @@ void nsSMILAnimationController::NotifyRefreshDriverCreated( nsRefreshDriver* aRefreshDriver) { - if (!mPauseState) { + if (!mPauseState && mChildContainerTable.Count()) { MaybeStartSampling(aRefreshDriver); } } |