Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 21292957e729a63ee0a74ce7a2f1434b975c96ad..ba075145bf0e8f9e6743dc8d587b2373346962eb 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -1616,7 +1616,8 @@ PassRefPtr<RenderStyle> CSSComputedStyleDeclaration::computeRenderStyle(CSSPrope |
Node* styledNode = this->styledNode(); |
ASSERT(styledNode); |
RenderObject* renderer = styledNode->renderer(); |
- if (renderer && renderer->isComposited() && !RuntimeEnabledFeatures::webAnimationsCSSEnabled() && AnimationController::supportsAcceleratedAnimationOfProperty(propertyID)) { |
+ if (renderer && renderer->compositingState() == PaintsIntoOwnBacking |
+ && !RuntimeEnabledFeatures::webAnimationsCSSEnabled() && AnimationController::supportsAcceleratedAnimationOfProperty(propertyID)) { |
AnimationUpdateBlock animationUpdateBlock(renderer->animation()); |
if (m_pseudoElementSpecifier && !styledNode->isPseudoElement()) { |
// FIXME: This cached pseudo style will only exist if the animation has been run at least once. |