mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 786111: Prevent recursive calls to nsSMILAnimationController::DoSample(). r=birtles sr=roc
This commit is contained in:
parent
8c26cde49e
commit
f775ff0b3e
@ -358,6 +358,10 @@ nsSMILAnimationController::DoSample(bool aSkipUnchangedContainers)
|
|||||||
NS_ERROR("Shouldn't be sampling after document has disconnected");
|
NS_ERROR("Shouldn't be sampling after document has disconnected");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (mRunningSample) {
|
||||||
|
NS_ERROR("Shouldn't be recursively sampling");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
mResampleNeeded = false;
|
mResampleNeeded = false;
|
||||||
// Set running sample flag -- do this before flushing styles so that when we
|
// Set running sample flag -- do this before flushing styles so that when we
|
||||||
|
Loading…
Reference in New Issue
Block a user