| Index: third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
|
| index cfd130805030cd33b1b9eb7ad7f6fdfb5fb743f4..8e7dee4cb5e68c854c28ea0798895bc6bf0a8947 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
|
| @@ -88,13 +88,14 @@ InterpolationValue CSSPaintInterpolationType::maybeConvertValue(
|
| return InterpolationValue(std::move(interpolableColor));
|
| }
|
|
|
| -InterpolationValue CSSPaintInterpolationType::maybeConvertUnderlyingValue(
|
| - const InterpolationEnvironment& environment) const {
|
| +InterpolationValue
|
| +CSSPaintInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
|
| + const StyleResolverState& state) const {
|
| // TODO(alancutter): Support capturing and animating with the visited paint
|
| // color.
|
| StyleColor underlyingColor;
|
| - if (!PaintPropertyFunctions::getColor(
|
| - cssProperty(), *environment.state().style(), underlyingColor))
|
| + if (!PaintPropertyFunctions::getColor(cssProperty(), *state.style(),
|
| + underlyingColor))
|
| return nullptr;
|
| return InterpolationValue(
|
| CSSColorInterpolationType::createInterpolableColor(underlyingColor));
|
|
|