| Index: third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| index 478e1e7f8b5819d1e20a6ece1ef45cb449655688..a9883b664bdea8a9a7da64349b4a906817f3bc3c 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| @@ -23,7 +23,8 @@ bool IsNoneValue(const InterpolationValue& value) {
|
| return ToInterpolableList(*value.interpolable_value).length() == 0;
|
| }
|
|
|
| -class InheritedTranslateChecker : public InterpolationType::ConversionChecker {
|
| +class InheritedTranslateChecker
|
| + : public CSSInterpolationType::CSSConversionChecker {
|
| public:
|
| ~InheritedTranslateChecker() {}
|
|
|
| @@ -33,10 +34,10 @@ class InheritedTranslateChecker : public InterpolationType::ConversionChecker {
|
| new InheritedTranslateChecker(std::move(inherited_translate)));
|
| }
|
|
|
| - bool IsValid(const InterpolationEnvironment& environment,
|
| + bool IsValid(const StyleResolverState& state,
|
| const InterpolationValue& underlying) const final {
|
| const TransformOperation* inherited_translate =
|
| - environment.GetState().ParentStyle()->Translate();
|
| + state.ParentStyle()->Translate();
|
| if (inherited_translate_ == inherited_translate)
|
| return true;
|
| if (!inherited_translate_ || !inherited_translate)
|
|
|