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

Unified Diff: third_party/WebKit/Source/core/animation/NumberInterpolationType.h

Issue 1394343003: Web Animations: Remove CSS dependence from InterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_specialCase0and1
Patch Set: NIVs Created 5 years, 2 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: third_party/WebKit/Source/core/animation/NumberInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/NumberInterpolationType.h b/third_party/WebKit/Source/core/animation/NumberInterpolationType.h
index b13142266a8fb5686170b53296f805fed21fab71..ee1a70e988ba4d47df36916ccf2edbece9009cd7 100644
--- a/third_party/WebKit/Source/core/animation/NumberInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/NumberInterpolationType.h
@@ -5,18 +5,18 @@
#ifndef NumberInterpolationType_h
#define NumberInterpolationType_h
-#include "core/animation/InterpolationType.h"
+#include "core/animation/CSSInterpolationType.h"
namespace blink {
-class NumberInterpolationType : public InterpolationType {
+class NumberInterpolationType : public CSSInterpolationType {
public:
NumberInterpolationType(CSSPropertyID property)
- : InterpolationType(property)
+ : CSSInterpolationType(property)
{ }
- PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const StyleResolverState&) const final;
- void apply(const InterpolableValue&, const NonInterpolableValue*, StyleResolverState&) const final;
+ PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final;
+ void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final;
private:
PassOwnPtr<InterpolationValue> createNumberValue(double number) const;

Powered by Google App Engine
This is Rietveld 408576698