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

Unified Diff: Source/core/animation/ElementAnimation.h

Issue 238633002: Web Animations API: Add runtime flag for minimal element.animate feature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations. Created 6 years, 8 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/animation/ElementAnimation.h
diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h
index 51775ff9526cdc7d61c18d9c26dd412bb9ee653e..52a099eb61eef231df5d0a7127373b58b4329965 100644
--- a/Source/core/animation/ElementAnimation.h
+++ b/Source/core/animation/ElementAnimation.h
@@ -77,7 +77,7 @@ public:
private:
static AnimationPlayer* animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing)
{
- if (RuntimeEnabledFeatures::webAnimationsAPIEnabled()) {
+ if (RuntimeEnabledFeatures::webAnimationsElementAnimateEnabled()) {
RefPtr<Animation> animation = Animation::create(&element, effect, timing);
return element.document().timeline().play(animation.get());
}

Powered by Google App Engine
This is Rietveld 408576698