Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index d41c9a7d9f9ce61f57aa388accfad5370d46b013..12179899c4d5ed218ec3718d3c6c781f14a28f8b 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -1532,10 +1532,9 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
if (updateLayout) { |
Document& document = styledNode->document(); |
- // If a compositor animation is running or animations have been updated |
- // via the api we may need to service animations in order to generate |
- // an up to date value. |
- DocumentAnimations::serviceBeforeGetComputedStyle(*styledNode, propertyID); |
+ // A timing update may be required if a compositor animation is running or animations |
+ // have been updated via the api. |
+ DocumentAnimations::updateAnimationTimingForGetComputedStyle(*styledNode, propertyID); |
document.updateStyleForNodeIfNeeded(styledNode); |