Bug 786111: Prevent recursive calls to nsSMILAnimationController::DoSample(). r=birtles sr=roc

This commit is contained in:
Daniel Holbert 2012-08-28 22:32:56 -07:00
parent f830e7c269
commit 43ad921ae7

View File

@ -358,6 +358,10 @@ nsSMILAnimationController::DoSample(bool aSkipUnchangedContainers)
NS_ERROR("Shouldn't be sampling after document has disconnected");
return;
}
if (mRunningSample) {
NS_ERROR("Shouldn't be recursively sampling");
return;
}
mResampleNeeded = false;
// Set running sample flag -- do this before flushing styles so that when we