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