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

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: 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 9d2f17a27672eb34236450b53435b60d950800ae..47277203bc5718850c966b3f1aa1c72ae5c55163 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;
document.cssPendingAnimations().startPendingAnimations();

Powered by Google App Engine
This is Rietveld 408576698