| Index: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| index 06264b13c8c8efd4a9feb3767c0ac0203e9b8fb5..2b1254391aba2f6cc526566a33ab3af752330257 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| @@ -209,17 +209,17 @@ InterpolationValue CSSColorInterpolationType::convertStyleColorPair(const StyleC
|
| InterpolationValue CSSColorInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const
|
| {
|
| return convertStyleColorPair(
|
| - ColorPropertyFunctions::getUnvisitedColor(cssProperty(), *environment.state().style()),
|
| - ColorPropertyFunctions::getVisitedColor(cssProperty(), *environment.state().style()));
|
| + ColorPropertyFunctions::getUnvisitedColor(cssProperty(), environment.style()),
|
| + ColorPropertyFunctions::getVisitedColor(cssProperty(), environment.style()));
|
| }
|
|
|
| void CSSColorInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue*, InterpolationEnvironment& environment) const
|
| {
|
| const InterpolableList& colorPair = toInterpolableList(interpolableValue);
|
| ASSERT(colorPair.length() == InterpolableColorPairIndexCount);
|
| - ColorPropertyFunctions::setUnvisitedColor(cssProperty(), *environment.state().style(),
|
| + ColorPropertyFunctions::setUnvisitedColor(cssProperty(), environment.style(),
|
| resolveInterpolableColor(*colorPair.get(Unvisited), environment.state(), false, cssProperty() == CSSPropertyTextDecorationColor));
|
| - ColorPropertyFunctions::setVisitedColor(cssProperty(), *environment.state().style(),
|
| + ColorPropertyFunctions::setVisitedColor(cssProperty(), environment.style(),
|
| resolveInterpolableColor(*colorPair.get(Visited), environment.state(), true, cssProperty() == CSSPropertyTextDecorationColor));
|
| }
|
|
|
|
|