Index: third_party/WebKit/Source/core/animation/InterpolableValueTest.cpp |
diff --git a/third_party/WebKit/Source/core/animation/InterpolableValueTest.cpp b/third_party/WebKit/Source/core/animation/InterpolableValueTest.cpp |
index 8d3b9a795e330dad61285800e17ad759875fadea..def126367e52b4a53e3120a172dbe9580b37954d 100644 |
--- a/third_party/WebKit/Source/core/animation/InterpolableValueTest.cpp |
+++ b/third_party/WebKit/Source/core/animation/InterpolableValueTest.cpp |
@@ -4,8 +4,7 @@ |
#include "core/animation/InterpolableValue.h" |
-#include "core/animation/Interpolation.h" |
-#include "core/animation/PropertyHandle.h" |
+#include "core/animation/LegacyStyleInterpolation.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include <memory> |
@@ -13,7 +12,7 @@ namespace blink { |
namespace { |
-class SampleInterpolation : public Interpolation { |
+class SampleInterpolation : public LegacyStyleInterpolation { |
public: |
static PassRefPtr<Interpolation> create( |
std::unique_ptr<InterpolableValue> start, |
@@ -21,14 +20,12 @@ class SampleInterpolation : public Interpolation { |
return adoptRef(new SampleInterpolation(std::move(start), std::move(end))); |
} |
- PropertyHandle getProperty() const override { |
- return PropertyHandle(CSSPropertyBackgroundColor); |
- } |
- |
private: |
SampleInterpolation(std::unique_ptr<InterpolableValue> start, |
std::unique_ptr<InterpolableValue> end) |
- : Interpolation(std::move(start), std::move(end)) {} |
+ : LegacyStyleInterpolation(std::move(start), |
+ std::move(end), |
+ CSSPropertyBackgroundColor) {} |
}; |
} // namespace |