Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index df4b2313f8b2e465e57ed5e243a90feace7e26b9..4c2859a7ed29cf3539248f8ce03d81acc6ee0bf2 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -1563,7 +1563,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
// have been updated via the api. |
DocumentAnimations::updateAnimationTimingForGetComputedStyle(*styledNode, propertyID); |
- document.updateStyleForNodeIfNeeded(styledNode); |
+ document.updateRenderTreeForNodeIfNeeded(styledNode); |
// The style recalc could have caused the styled node to be discarded or replaced |
// if it was a PseudoElement so we need to update it. |