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

Unified Diff: third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.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/CSSSizeListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
index c8f659a02b84c86f5f2376ee9d3e1faae8a2a91a..bb37ea2ee738f4298c6fb5c0954fbb58c79ddcec 100644
--- a/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
@@ -172,10 +172,10 @@ void CSSSizeListInterpolationType::composite(
SizeInterpolationFunctions::composite);
}
-void CSSSizeListInterpolationType::apply(
+void CSSSizeListInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* nonInterpolableValue,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
const auto& interpolableList = toInterpolableList(interpolableValue);
const auto& nonInterpolableList =
toNonInterpolableList(*nonInterpolableValue);
@@ -188,10 +188,10 @@ void CSSSizeListInterpolationType::apply(
sizeList[i] = SizeInterpolationFunctions::createFillSize(
*interpolableList.get(i * 2), nonInterpolableList.get(i * 2),
*interpolableList.get(i * 2 + 1), nonInterpolableList.get(i * 2 + 1),
- environment.state().cssToLengthConversionData());
+ state.cssToLengthConversionData());
}
- SizeListPropertyFunctions::setSizeList(
- cssProperty(), *environment.state().style(), sizeList);
+ SizeListPropertyFunctions::setSizeList(cssProperty(), *state.style(),
+ sizeList);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698