Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp

Issue 2578043002: Rename apply() in CSSInterpolationType subclasses (Closed)
Patch Set: rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));
}

Powered by Google App Engine
This is Rietveld 408576698