mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 786111: Prevent recursive calls to nsSMILAnimationController::DoSample(). r=birtles sr=roc
This commit is contained in:
parent
f462257c18
commit
b537d68146
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user