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

Unified Diff: Source/core/animation/AnimatableValue.cpp

Issue 15405006: Modify AnimationEffect::sample() to return a CompositableValue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix rebase Created 7 years, 7 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/AnimatableValue.h ('k') | Source/core/animation/Animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableValue.cpp
diff --git a/Source/core/animation/AnimationEffect.cpp b/Source/core/animation/AnimatableValue.cpp
similarity index 78%
rename from Source/core/animation/AnimationEffect.cpp
rename to Source/core/animation/AnimatableValue.cpp
index 0ea7b0bedea3209372a557861f6cfc171ca8620e..6631605a14de846f723a2058a16d1e98e69da76b 100644
--- a/Source/core/animation/AnimationEffect.cpp
+++ b/Source/core/animation/AnimatableValue.cpp
@@ -29,25 +29,14 @@
*/
#include "config.h"
-#include "core/animation/AnimationEffect.h"
-
-#include "core/css/StylePropertySet.h"
+#include "core/animation/AnimatableValue.h"
namespace WebCore {
-PassRefPtr<AnimationEffect> AnimationEffect::create()
-{
- return adoptRef(new AnimationEffect());
-}
-
-AnimationEffect::AnimationEffect()
-{
-}
-
-// FIXME: This shouldn't directly generate StylePropertySet values.
-PassRefPtr<StylePropertySet> AnimationEffect::sample(double fraction, int iteration)
+PassRefPtr<CSSValue> AnimatableValue::toCSSValue() const
{
- return StylePropertySet::create(0, 0);
+ ASSERT_NOT_REACHED();
+ return 0;
}
-} // namespace
+} // namespace WebCore
« no previous file with comments | « Source/core/animation/AnimatableValue.h ('k') | Source/core/animation/Animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698