Chromium Code Reviews| Index: Source/core/animation/ActiveAnimations.cpp |
| diff --git a/Source/core/animation/ActiveAnimations.cpp b/Source/core/animation/ActiveAnimations.cpp |
| index 037e3df256d1d59999729c1eee2b80096137a766..ad0803b9caf5bcf63b91caf522f5a73a33edf947 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()); |
| @@ -46,7 +46,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 |
|
dstockwell
2013/12/03 18:49:30
remove this FIXME
|
| - if ((renderViewInCompositingMode && activeAnimations->hasActiveAnimations(CSSPropertyOpacity)) |
| + if (activeAnimations->hasActiveAnimations(CSSPropertyOpacity) |
| || activeAnimations->hasActiveAnimations(CSSPropertyWebkitTransform) |
| || activeAnimations->hasActiveAnimations(CSSPropertyWebkitFilter)) |
| return true; |