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

Unified Diff: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.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/CSSColorInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
index 410d124ae0d92c4bdbe1a20da4256734731c5ab2..eb899ff8799c63a7f525c8246159e134d13db96c 100644
--- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
@@ -238,13 +238,12 @@ InterpolationValue CSSColorInterpolationType::convertStyleColorPair(
return InterpolationValue(std::move(colorPair));
}
-InterpolationValue CSSColorInterpolationType::maybeConvertUnderlyingValue(
- const InterpolationEnvironment& environment) const {
+InterpolationValue
+CSSColorInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
+ const StyleResolverState& state) const {
return convertStyleColorPair(
- ColorPropertyFunctions::getUnvisitedColor(cssProperty(),
- *environment.state().style()),
- ColorPropertyFunctions::getVisitedColor(cssProperty(),
- *environment.state().style()));
+ ColorPropertyFunctions::getUnvisitedColor(cssProperty(), *state.style()),
+ ColorPropertyFunctions::getVisitedColor(cssProperty(), *state.style()));
}
void CSSColorInterpolationType::applyStandardPropertyValue(

Powered by Google App Engine
This is Rietveld 408576698