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

Unified Diff: third_party/WebKit/Source/core/animation/PaintInterpolationType.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/PaintInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/PaintInterpolationType.h b/third_party/WebKit/Source/core/animation/PaintInterpolationType.h
index 29f3de044970ce5e49a764f609a1934be3181db0..6fcee4f501ae58b054bbba2138afe54680547074 100644
--- a/third_party/WebKit/Source/core/animation/PaintInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/PaintInterpolationType.h
@@ -5,18 +5,18 @@
#ifndef PaintInterpolationType_h
#define PaintInterpolationType_h
-#include "core/animation/InterpolationType.h"
+#include "core/animation/CSSInterpolationType.h"
namespace blink {
-class PaintInterpolationType : public InterpolationType {
+class PaintInterpolationType : public CSSInterpolationType {
public:
PaintInterpolationType(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> maybeConvertNeutral(const UnderlyingValue&, ConversionCheckers&) const final;

Powered by Google App Engine
This is Rietveld 408576698