Index: third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
index 0bc7c384b1af0397694009ab5e820511cf6dc025..aae35738abd9f2d9c97d4d75faaaf67f967f6981 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
@@ -150,17 +150,17 @@ InterpolationValue ConvertRotation(const OptionalRotation& rotation) { |
CSSRotateNonInterpolableValue::Create(rotation)); |
} |
-class InheritedRotationChecker : public InterpolationType::ConversionChecker { |
+class InheritedRotationChecker |
+ : public CSSInterpolationType::CSSConversionChecker { |
public: |
static std::unique_ptr<InheritedRotationChecker> Create( |
const OptionalRotation& inherited_rotation) { |
return WTF::WrapUnique(new InheritedRotationChecker(inherited_rotation)); |
} |
- bool IsValid(const InterpolationEnvironment& environment, |
+ bool IsValid(const StyleResolverState& state, |
const InterpolationValue& underlying) const final { |
- OptionalRotation inherited_rotation = |
- GetRotation(*environment.GetState().ParentStyle()); |
+ OptionalRotation inherited_rotation = GetRotation(*state.ParentStyle()); |
if (inherited_rotation_.IsNone() || inherited_rotation.IsNone()) |
return inherited_rotation.IsNone() == inherited_rotation.IsNone(); |
return inherited_rotation_.GetRotation().axis == |