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

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: Rebased. 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 383e2d1ba84bd928b8aa8844e554940253280754..8a1fae7e67f12370dffa5a5090dae4d4909e4d68 100644
--- a/Source/core/rendering/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/CompositedLayerMapping.cpp
@@ -1941,7 +1941,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);
« no previous file with comments | « Source/core/platform/animation/TimingFunctionTestHelperTest.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698