Index: third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
index 8bf73ec5eee30863cf693c18d711e8290440d7ac..a926e11c338a0a721498c93f9a593faab60f3b80 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
@@ -129,17 +129,17 @@ InterpolationValue ConvertTransform(const TransformOperations& transform) { |
return ConvertTransform(TransformOperations(transform)); |
} |
-class InheritedTransformChecker : public InterpolationType::ConversionChecker { |
+class InheritedTransformChecker |
+ : public CSSInterpolationType::CSSConversionChecker { |
public: |
static std::unique_ptr<InheritedTransformChecker> Create( |
const TransformOperations& inherited_transform) { |
return WTF::WrapUnique(new InheritedTransformChecker(inherited_transform)); |
} |
- bool IsValid(const InterpolationEnvironment& environment, |
+ bool IsValid(const StyleResolverState& state, |
const InterpolationValue& underlying) const final { |
- return inherited_transform_ == |
- environment.GetState().ParentStyle()->Transform(); |
+ return inherited_transform_ == state.ParentStyle()->Transform(); |
} |
private: |