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

Unified Diff: third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.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/CSSImageSliceInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
index 2c41e0ebe78437262a2f8ecfc408471555e25997..89e987a1e0807a62f32a109798878278564d2e50 100644
--- a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
@@ -217,9 +217,10 @@ InterpolationValue CSSImageSliceInterpolationType::maybeConvertValue(
CSSImageSliceNonInterpolableValue::create(SliceTypes(slice)));
}
-InterpolationValue CSSImageSliceInterpolationType::maybeConvertUnderlyingValue(
- const InterpolationEnvironment& environment) const {
- const ComputedStyle& style = *environment.state().style();
+InterpolationValue
+CSSImageSliceInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
+ const StyleResolverState& state) const {
+ const ComputedStyle& style = *state.style();
return convertImageSlice(
ImageSlicePropertyFunctions::getImageSlice(cssProperty(), style),
style.effectiveZoom());

Powered by Google App Engine
This is Rietveld 408576698