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

Unified Diff: third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.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/CSSLengthInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
index 87053e379231f3507bf3573e1c7a81344b003761..bced1df3c7c2cd9102145acb23f25d69c43a7fea 100644
--- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
@@ -107,14 +107,15 @@ PairwiseInterpolationValue CSSLengthInterpolationType::maybeMergeSingles(
std::move(end));
}
-InterpolationValue CSSLengthInterpolationType::maybeConvertUnderlyingValue(
- const InterpolationEnvironment& environment) const {
+InterpolationValue
+CSSLengthInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
+ const StyleResolverState& state) const {
Length underlyingLength;
- if (!LengthPropertyFunctions::getLength(
- cssProperty(), *environment.state().style(), underlyingLength))
+ if (!LengthPropertyFunctions::getLength(cssProperty(), *state.style(),
+ underlyingLength))
return nullptr;
return LengthInterpolationFunctions::maybeConvertLength(
- underlyingLength, effectiveZoom(*environment.state().style()));
+ underlyingLength, effectiveZoom(*state.style()));
}
void CSSLengthInterpolationType::composite(

Powered by Google App Engine
This is Rietveld 408576698