diff options
author | Brian Birtles <birtles@gmail.com> | 2019-03-22 12:10:37 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-22 12:10:37 +0100 |
commit | 403c0b870870b5d1fbf3b8d66378c0f1da614604 (patch) | |
tree | 86ce25828efa648208433fe043257476ff1196d9 /dom/smil | |
parent | a7013083d3620b683457d96c302c50a56f30e070 (diff) | |
download | UXP-403c0b870870b5d1fbf3b8d66378c0f1da614604.tar UXP-403c0b870870b5d1fbf3b8d66378c0f1da614604.tar.gz UXP-403c0b870870b5d1fbf3b8d66378c0f1da614604.tar.lz UXP-403c0b870870b5d1fbf3b8d66378c0f1da614604.tar.xz UXP-403c0b870870b5d1fbf3b8d66378c0f1da614604.zip |
Check child container count in NotifyRefreshDriverCreated.
Diffstat (limited to 'dom/smil')
-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); } } |