Index: third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
index 9e5054d3a7b4b652d81e9464647c6c08ffc69cc3..2c5699eb773bb9594bb18b4fee7ebbd73cfa9470 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp |
@@ -132,11 +132,11 @@ InterpolationValue CSSFontWeightInterpolationType::maybeConvertUnderlyingValue( |
return createFontWeightValue(environment.state().style()->fontWeight()); |
} |
-void CSSFontWeightInterpolationType::apply( |
+void CSSFontWeightInterpolationType::applyStandardPropertyValue( |
const InterpolableValue& interpolableValue, |
const NonInterpolableValue*, |
- InterpolationEnvironment& environment) const { |
- environment.state().fontBuilder().setWeight( |
+ StyleResolverState& state) const { |
+ state.fontBuilder().setWeight( |
doubleToFontWeight(toInterpolableNumber(interpolableValue).value())); |
} |