| 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 5b374f6dbc79f387676442f2822759f559bb67f7..4f4cd500695bae6d0bcb7610f044cf9cbb30636c 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
|
| @@ -88,16 +88,16 @@ InterpolationValue CSSNumberInterpolationType::maybeConvertUnderlyingValue(
|
| return createNumberValue(underlyingNumber);
|
| }
|
|
|
| -void CSSNumberInterpolationType::apply(
|
| +void CSSNumberInterpolationType::applyStandardPropertyValue(
|
| const InterpolableValue& interpolableValue,
|
| const NonInterpolableValue*,
|
| - InterpolationEnvironment& environment) const {
|
| + StyleResolverState& state) const {
|
| double clampedNumber = NumberPropertyFunctions::clampNumber(
|
| cssProperty(), toInterpolableNumber(interpolableValue).value());
|
| - if (!NumberPropertyFunctions::setNumber(
|
| - cssProperty(), *environment.state().style(), clampedNumber))
|
| + if (!NumberPropertyFunctions::setNumber(cssProperty(), *state.style(),
|
| + clampedNumber))
|
| StyleBuilder::applyProperty(
|
| - cssProperty(), environment.state(),
|
| + cssProperty(), state,
|
| *CSSPrimitiveValue::create(clampedNumber,
|
| CSSPrimitiveValue::UnitType::Number));
|
| }
|
|
|