Index: trunk/Source/core/animation/DocumentAnimations.cpp |
=================================================================== |
--- trunk/Source/core/animation/DocumentAnimations.cpp (revision 190671) |
+++ trunk/Source/core/animation/DocumentAnimations.cpp (working copy) |
@@ -70,7 +70,7 @@ |
if (!node.isElementNode()) |
return; |
const Element& element = toElement(node); |
- if (const LayoutStyle* style = element.layoutStyle()) { |
+ if (LayoutStyle* style = element.layoutStyle()) { |
if ((property == CSSPropertyOpacity && style->isRunningOpacityAnimationOnCompositor()) |
|| ((property == CSSPropertyTransform || property == CSSPropertyWebkitTransform) && style->isRunningTransformAnimationOnCompositor()) |
|| (property == CSSPropertyWebkitFilter && style->isRunningFilterAnimationOnCompositor())) { |