| Index: Source/core/css/CSSComputedStyleDeclaration.cpp
|
| diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| index 857f6939c89087309b29456db6165c6489aafebb..97b8a7daf749c1c3a11547f313a0e47cd0c00518 100644
|
| --- a/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| +++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| @@ -59,7 +59,6 @@
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/PseudoElement.h"
|
| -#include "core/frame/animation/AnimationController.h"
|
| #include "core/rendering/RenderBox.h"
|
| #include "core/rendering/RenderGrid.h"
|
| #include "core/rendering/style/ContentData.h"
|
| @@ -1495,16 +1494,6 @@ PassRefPtr<RenderStyle> CSSComputedStyleDeclaration::computeRenderStyle(CSSPrope
|
| {
|
| Node* styledNode = this->styledNode();
|
| ASSERT(styledNode);
|
| - RenderObject* renderer = styledNode->renderer();
|
| - 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.
|
| - return renderer->animation().getAnimatedStyleForRenderer(renderer)->getCachedPseudoStyle(m_pseudoElementSpecifier);
|
| - }
|
| - return renderer->animation().getAnimatedStyleForRenderer(renderer);
|
| - }
|
| return styledNode->computedStyle(styledNode->isPseudoElement() ? NOPSEUDO : m_pseudoElementSpecifier);
|
| }
|
|
|
|
|