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 87053e379231f3507bf3573e1c7a81344b003761..bced1df3c7c2cd9102145acb23f25d69c43a7fea 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
@@ -107,14 +107,15 @@ PairwiseInterpolationValue CSSLengthInterpolationType::maybeMergeSingles( |
std::move(end)); |
} |
-InterpolationValue CSSLengthInterpolationType::maybeConvertUnderlyingValue( |
- const InterpolationEnvironment& environment) const { |
+InterpolationValue |
+CSSLengthInterpolationType::maybeConvertStandardPropertyUnderlyingValue( |
+ const StyleResolverState& state) const { |
Length underlyingLength; |
- if (!LengthPropertyFunctions::getLength( |
- cssProperty(), *environment.state().style(), underlyingLength)) |
+ if (!LengthPropertyFunctions::getLength(cssProperty(), *state.style(), |
+ underlyingLength)) |
return nullptr; |
return LengthInterpolationFunctions::maybeConvertLength( |
- underlyingLength, effectiveZoom(*environment.state().style())); |
+ underlyingLength, effectiveZoom(*state.style())); |
} |
void CSSLengthInterpolationType::composite( |