| Index: Source/core/animation/ActiveAnimations.cpp
|
| diff --git a/Source/core/animation/ActiveAnimations.cpp b/Source/core/animation/ActiveAnimations.cpp
|
| index 037e3df256d1d59999729c1eee2b80096137a766..d27161d6a103136178088de3c2d17feb2853c2c8 100644
|
| --- a/Source/core/animation/ActiveAnimations.cpp
|
| +++ b/Source/core/animation/ActiveAnimations.cpp
|
| @@ -36,7 +36,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -bool shouldCompositeForActiveAnimations(const RenderObject& renderer, bool renderViewInCompositingMode)
|
| +bool shouldCompositeForActiveAnimations(const RenderObject& renderer)
|
| {
|
| ASSERT(RuntimeEnabledFeatures::webAnimationsCSSEnabled());
|
|
|
| @@ -45,8 +45,7 @@ bool shouldCompositeForActiveAnimations(const RenderObject& renderer, bool rende
|
|
|
| const Element* element = toElement(renderer.node());
|
| if (const ActiveAnimations* activeAnimations = element->activeAnimations()) {
|
| - // FIXME: remove compositing mode check once compositing is forced on all platforms
|
| - if ((renderViewInCompositingMode && activeAnimations->hasActiveAnimations(CSSPropertyOpacity))
|
| + if (activeAnimations->hasActiveAnimations(CSSPropertyOpacity)
|
| || activeAnimations->hasActiveAnimations(CSSPropertyWebkitTransform)
|
| || activeAnimations->hasActiveAnimations(CSSPropertyWebkitFilter))
|
| return true;
|
|
|