| Index: third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
| index 114c0d1a5f74a250aada9174c60b26520360ea95..eb48d47dbb26355f51f6f6b699abdd8f87c5fd7e 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
| @@ -28,7 +28,8 @@ float CSSLengthInterpolationType::EffectiveZoom(
|
| : 1;
|
| }
|
|
|
| -class InheritedLengthChecker : public InterpolationType::ConversionChecker {
|
| +class InheritedLengthChecker
|
| + : public CSSInterpolationType::CSSConversionChecker {
|
| public:
|
| static std::unique_ptr<InheritedLengthChecker> Create(CSSPropertyID property,
|
| const Length& length) {
|
| @@ -39,11 +40,11 @@ class InheritedLengthChecker : public InterpolationType::ConversionChecker {
|
| InheritedLengthChecker(CSSPropertyID property, const Length& length)
|
| : property_(property), length_(length) {}
|
|
|
| - bool IsValid(const InterpolationEnvironment& environment,
|
| + bool IsValid(const StyleResolverState& state,
|
| const InterpolationValue& underlying) const final {
|
| Length parent_length;
|
| - if (!LengthPropertyFunctions::GetLength(
|
| - property_, *environment.GetState().ParentStyle(), parent_length))
|
| + if (!LengthPropertyFunctions::GetLength(property_, *state.ParentStyle(),
|
| + parent_length))
|
| return false;
|
| return parent_length == length_;
|
| }
|
|
|