Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Unified Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 135693003: Defer starting of animations until after compositing update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove anonymous namespace. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
index d41c9a7d9f9ce61f57aa388accfad5370d46b013..5dc123162de3248832e0c11eb2f4ce6892646832 100644
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -1535,7 +1535,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu
// 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.
abarth-chromium 2014/02/24 06:14:08 This comment seems slightly out of date now.
dstockwell 2014/02/24 12:41:16 Done.
- DocumentAnimations::serviceBeforeGetComputedStyle(*styledNode, propertyID);
+ DocumentAnimations::updateAnimationTimingForGetComputedStyle(*styledNode, propertyID);
document.updateStyleForNodeIfNeeded(styledNode);

Powered by Google App Engine
This is Rietveld 408576698