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

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

Issue 2575763002: Rename maybeConvertUnderlyingValue() 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/CSSLengthListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
index c4f8a65a6c19c122d47a99dde094be56f3ac78ce..c99029fcee5abd9cf159a50f408eca4df7d58c5d 100644
--- a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
@@ -126,14 +126,15 @@ PairwiseInterpolationValue CSSLengthListInterpolationType::maybeMergeSingles(
LengthInterpolationFunctions::mergeSingles);
}
-InterpolationValue CSSLengthListInterpolationType::maybeConvertUnderlyingValue(
- const InterpolationEnvironment& environment) const {
+InterpolationValue
+CSSLengthListInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
+ const StyleResolverState& state) const {
Vector<Length> underlyingLengthList;
- if (!LengthListPropertyFunctions::getLengthList(
- cssProperty(), *environment.state().style(), underlyingLengthList))
+ if (!LengthListPropertyFunctions::getLengthList(cssProperty(), *state.style(),
+ underlyingLengthList))
return nullptr;
return maybeConvertLengthList(underlyingLengthList,
- environment.state().style()->effectiveZoom());
+ state.style()->effectiveZoom());
}
void CSSLengthListInterpolationType::composite(

Powered by Google App Engine
This is Rietveld 408576698