Index: third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp |
index 4f4cd500695bae6d0bcb7610f044cf9cbb30636c..ef2dae40b623c3d1cd6d1d2388d72b0574b1b781 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp |
@@ -79,11 +79,12 @@ InterpolationValue CSSNumberInterpolationType::maybeConvertValue( |
return createNumberValue(toCSSPrimitiveValue(value).getDoubleValue()); |
} |
-InterpolationValue CSSNumberInterpolationType::maybeConvertUnderlyingValue( |
- const InterpolationEnvironment& environment) const { |
+InterpolationValue |
+CSSNumberInterpolationType::maybeConvertStandardPropertyUnderlyingValue( |
+ const StyleResolverState& state) const { |
double underlyingNumber; |
- if (!NumberPropertyFunctions::getNumber( |
- cssProperty(), *environment.state().style(), underlyingNumber)) |
+ if (!NumberPropertyFunctions::getNumber(cssProperty(), *state.style(), |
+ underlyingNumber)) |
return nullptr; |
return createNumberValue(underlyingNumber); |
} |