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

Unified Diff: third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.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/CSSShadowListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
index 3318db7b06577ecb22527c485fdca424a106ceb7..eb78765927e6314800978f1ef7b4071c0170c3ac 100644
--- a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
@@ -119,13 +119,14 @@ PairwiseInterpolationValue CSSShadowListInterpolationType::maybeMergeSingles(
ShadowInterpolationFunctions::maybeMergeSingles);
}
-InterpolationValue CSSShadowListInterpolationType::maybeConvertUnderlyingValue(
- const InterpolationEnvironment& environment) const {
- if (!environment.state().style())
+InterpolationValue
+CSSShadowListInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
+ const StyleResolverState& state) const {
+ if (!state.style())
return nullptr;
- return convertShadowList(ShadowListPropertyFunctions::getShadowList(
- cssProperty(), *environment.state().style()),
- environment.state().style()->effectiveZoom());
+ return convertShadowList(
+ ShadowListPropertyFunctions::getShadowList(cssProperty(), *state.style()),
+ state.style()->effectiveZoom());
}
void CSSShadowListInterpolationType::composite(

Powered by Google App Engine
This is Rietveld 408576698