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

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

Issue 216603008: Revert "Web Animations: Introduce String based KeyframeEffectModel" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/Interpolation.h ('k') | Source/core/animation/Keyframe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Interpolation.cpp
diff --git a/Source/core/animation/Interpolation.cpp b/Source/core/animation/Interpolation.cpp
index 6c11a0f4c7d08a4423fd9e11f70a2ab51614db84..e812e889d520cd0dd2728e5dbe4021959eefe5c6 100644
--- a/Source/core/animation/Interpolation.cpp
+++ b/Source/core/animation/Interpolation.cpp
@@ -5,7 +5,6 @@
#include "config.h"
#include "core/animation/Interpolation.h"
-#include "core/animation/AnimatableDouble.h"
#include "core/css/resolver/AnimatedStyleBuilder.h"
#include "core/css/resolver/StyleResolverState.h"
@@ -71,7 +70,8 @@ void StyleInterpolation::trace(Visitor* visitor)
void LegacyStyleInterpolation::apply(StyleResolverState& state) const
{
- AnimatedStyleBuilder::applyProperty(m_id, state, currentValue().get());
+ AnimatableValue* value = currentValue();
+ AnimatedStyleBuilder::applyProperty(m_id, state, value);
}
void LegacyStyleInterpolation::trace(Visitor* visitor)
« no previous file with comments | « Source/core/animation/Interpolation.h ('k') | Source/core/animation/Keyframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698