mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1010681 part 5 - Remove conditional processing inside animation controller; r=longsonr
Remove the changes to nsSMILAnimationController introduced by bug 619469 now that we have introduced a more thorough approach to disabling animations that fail conditional processing tests.
This commit is contained in:
parent
a7c0081e1b
commit
e6a15688b8
@ -672,12 +672,10 @@ nsSMILAnimationController::SampleAnimation(AnimationElementPtrKey* aKey,
|
||||
NS_ENSURE_TRUE(aData, PL_DHASH_NEXT);
|
||||
|
||||
SVGAnimationElement* animElem = aKey->GetKey();
|
||||
if (animElem->PassesConditionalProcessingTests()) {
|
||||
SampleAnimationParams* params = static_cast<SampleAnimationParams*>(aData);
|
||||
SampleAnimationParams* params = static_cast<SampleAnimationParams*>(aData);
|
||||
|
||||
SampleTimedElement(animElem, params->mActiveContainers);
|
||||
AddAnimationToCompositorTable(animElem, params->mCompositorTable);
|
||||
}
|
||||
SampleTimedElement(animElem, params->mActiveContainers);
|
||||
AddAnimationToCompositorTable(animElem, params->mCompositorTable);
|
||||
|
||||
return PL_DHASH_NEXT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user