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

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

Issue 215883005: Web Animations: Introduce String based KeyframeEffectModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
Index: Source/core/animation/Interpolation.cpp
diff --git a/Source/core/animation/Interpolation.cpp b/Source/core/animation/Interpolation.cpp
index 4ceda726ea4a40398126d44d1fcc976f9e6e8524..32186242c1a9bfec5084f6a182339ff29f1c2310 100644
--- a/Source/core/animation/Interpolation.cpp
+++ b/Source/core/animation/Interpolation.cpp
@@ -5,6 +5,7 @@
#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"
@@ -61,8 +62,7 @@ void StyleInterpolation::trace(Visitor* visitor)
void LegacyStyleInterpolation::apply(StyleResolverState& state) const
{
- AnimatableValue* value = currentValue();
- AnimatedStyleBuilder::applyProperty(m_id, state, value);
+ AnimatedStyleBuilder::applyProperty(m_id, state, currentValue().get());
}
void LegacyStyleInterpolation::trace(Visitor* visitor)

Powered by Google App Engine
This is Rietveld 408576698