| Index: third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp b/third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp
|
| index 5015f1ff4304338e8096a0cc5b59ef90f319b7d3..df2589377a9e912e3c76eaf8ddb2b420f4d2dc1e 100644
|
| --- a/third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/animation/InterpolationEffect.h"
|
|
|
| +#include "core/animation/LegacyStyleInterpolation.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include <memory>
|
|
|
| @@ -11,7 +12,7 @@ namespace blink {
|
|
|
| namespace {
|
|
|
| -class SampleInterpolation : public Interpolation {
|
| +class SampleInterpolation : public LegacyStyleInterpolation {
|
| public:
|
| static PassRefPtr<Interpolation> create(
|
| std::unique_ptr<InterpolableValue> start,
|
| @@ -19,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) {}
|
| };
|
|
|
| const double duration = 1.0;
|
|
|