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

Unified Diff: third_party/WebKit/Source/core/animation/CSSClipInterpolationType.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/CSSClipInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
index a0d75c1d859ff367a654e7f7db6fccaadcb8f34c..e15d0981cfc82e652349dbde6655229265da7b35 100644
--- a/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
@@ -222,12 +222,12 @@ InterpolationValue CSSClipInterpolationType::maybeConvertValue(
CSSClipNonInterpolableValue::create(autos));
}
-InterpolationValue CSSClipInterpolationType::maybeConvertUnderlyingValue(
- const InterpolationEnvironment& environment) const {
- if (environment.state().style()->hasAutoClip())
+InterpolationValue
+CSSClipInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
+ const StyleResolverState& state) const {
+ if (state.style()->hasAutoClip())
return nullptr;
- return createClipValue(environment.state().style()->clip(),
- environment.state().style()->effectiveZoom());
+ return createClipValue(state.style()->clip(), state.style()->effectiveZoom());
}
PairwiseInterpolationValue CSSClipInterpolationType::maybeMergeSingles(

Powered by Google App Engine
This is Rietveld 408576698