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

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

Issue 480413005: Remove WebAnimationsElementAnimate runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/animation/AnimationPlayer.idl ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/ElementAnimation.h
diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h
index a083423cedf912cfaf68eb91ac648edb3dbdf1e4..8894b31a4a8dbee8dd4c3e822786436d4632ffee 100644
--- a/Source/core/animation/ElementAnimation.h
+++ b/Source/core/animation/ElementAnimation.h
@@ -109,11 +109,8 @@ public:
private:
static AnimationPlayer* animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing)
{
- if (RuntimeEnabledFeatures::webAnimationsElementAnimateEnabled()) {
- RefPtrWillBeRawPtr<Animation> animation = Animation::create(&element, effect, timing);
- return element.document().timeline().play(animation.get());
- }
- return 0;
+ RefPtrWillBeRawPtr<Animation> animation = Animation::create(&element, effect, timing);
+ return element.document().timeline().play(animation.get());
}
};
« no previous file with comments | « Source/core/animation/AnimationPlayer.idl ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698