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

Unified Diff: Source/core/animation/DocumentAnimations.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/animation/DocumentAnimations.cpp
diff --git a/Source/core/animation/DocumentAnimations.cpp b/Source/core/animation/DocumentAnimations.cpp
index 69085bfd9847f34791ec855a4cd5bc907668a160..34ea5ca4546c50ae264bc49ea119d8172c9700d3 100644
--- a/Source/core/animation/DocumentAnimations.cpp
+++ b/Source/core/animation/DocumentAnimations.cpp
@@ -71,7 +71,7 @@ void dispatchAnimationEventsAsync(Document& document)
void DocumentAnimations::serviceOnAnimationFrame(Document& document, double monotonicAnimationStartTime)
{
- if (!RuntimeEnabledFeatures::webAnimationsEnabled())
+ if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled())
return;
updateAnimationTiming(document, monotonicAnimationStartTime);
@@ -80,7 +80,7 @@ void DocumentAnimations::serviceOnAnimationFrame(Document& document, double mono
void DocumentAnimations::serviceBeforeGetComputedStyle(Node& node, CSSPropertyID property)
{
- if (!RuntimeEnabledFeatures::webAnimationsEnabled())
+ if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled())
return;
if (node.isElementNode()) {
@@ -95,7 +95,7 @@ void DocumentAnimations::serviceBeforeGetComputedStyle(Node& node, CSSPropertyID
void DocumentAnimations::serviceAfterStyleRecalc(Document& document)
{
- if (!RuntimeEnabledFeatures::webAnimationsEnabled())
+ if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled())
return;
if (document.cssPendingAnimations().startPendingAnimations() && document.view())
« no previous file with comments | « Source/core/animation/CompositorAnimationsTimingFunctionReverserTest.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698