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 93f1624dc4358cfca72214bac760bd8926ae8fde..410d124ae0d92c4bdbe1a20da4256734731c5ab2 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp |
@@ -247,21 +247,21 @@ InterpolationValue CSSColorInterpolationType::maybeConvertUnderlyingValue( |
*environment.state().style())); |
} |
-void CSSColorInterpolationType::apply( |
+void CSSColorInterpolationType::applyStandardPropertyValue( |
const InterpolableValue& interpolableValue, |
const NonInterpolableValue*, |
- InterpolationEnvironment& environment) const { |
+ StyleResolverState& state) const { |
const InterpolableList& colorPair = toInterpolableList(interpolableValue); |
DCHECK_EQ(colorPair.length(), InterpolableColorPairIndexCount); |
ColorPropertyFunctions::setUnvisitedColor( |
- cssProperty(), *environment.state().style(), |
+ cssProperty(), *state.style(), |
resolveInterpolableColor( |
- *colorPair.get(Unvisited), environment.state(), false, |
+ *colorPair.get(Unvisited), state, false, |
cssProperty() == CSSPropertyTextDecorationColor)); |
ColorPropertyFunctions::setVisitedColor( |
- cssProperty(), *environment.state().style(), |
+ cssProperty(), *state.style(), |
resolveInterpolableColor( |
- *colorPair.get(Visited), environment.state(), true, |
+ *colorPair.get(Visited), state, true, |
cssProperty() == CSSPropertyTextDecorationColor)); |
} |