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

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

Issue 23874019: Web Animations CSS: Start running animations on the compositor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleanup isRunning* and shouldCompositeForAnimation 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/KeyframeAnimationEffect.h
diff --git a/Source/core/animation/KeyframeAnimationEffect.h b/Source/core/animation/KeyframeAnimationEffect.h
index d6a44c9369c62fe20ae9e4eccc8f44b0eee096d2..419659987cbb2d38232e60bace75642488ac11fc 100644
--- a/Source/core/animation/KeyframeAnimationEffect.h
+++ b/Source/core/animation/KeyframeAnimationEffect.h
@@ -81,6 +81,12 @@ public:
return adoptRef(new KeyframeAnimationEffect(keyframes));
}
+ bool affects(CSSPropertyID property) OVERRIDE
Steve Block 2013/11/18 05:03:03 virtual
dstockwell 2013/11/18 06:11:20 Done.
+ {
+ ensureKeyframeGroups();
+ return m_keyframeGroups->contains(property);
+ }
+
// AnimationEffect implementation.
virtual PassOwnPtr<CompositableValueMap> sample(int iteration, double fraction) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698