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

Unified Diff: Source/core/rendering/CompositedLayerMapping.cpp

Issue 85463002: Web Animations: Remove WebAnimations runtime feature in favor of WebAnimationsCSS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/rendering/CompositedLayerMapping.cpp
diff --git a/Source/core/rendering/CompositedLayerMapping.cpp b/Source/core/rendering/CompositedLayerMapping.cpp
index 536a35118a5c0041305fe0dc71df3395a7ec08f9..7252f3346ab76eb9aeac41980e6847d62776f097 100644
--- a/Source/core/rendering/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/CompositedLayerMapping.cpp
@@ -1918,7 +1918,7 @@ void CompositedLayerMapping::transitionFinished(CSSPropertyID property)
void CompositedLayerMapping::notifyAnimationStarted(const GraphicsLayer*, double time)
{
- if (RuntimeEnabledFeatures::webAnimationsEnabled())
+ if (RuntimeEnabledFeatures::webAnimationsCSSEnabled())
renderer()->node()->document().cssPendingAnimations().notifyCompositorAnimationStarted(monotonicallyIncreasingTime() - (currentTime() - time));
else
renderer()->animation().notifyAnimationStarted(renderer(), time);

Powered by Google App Engine
This is Rietveld 408576698