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

Unified Diff: third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp

Issue 2657553003: Make maybeConvertStandardUnderlyingValue take a ComputedStyle instead of StyleResolverState (Closed)
Patch Set: Rebased Created 3 years, 10 months 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 2ea9c6e5ddc727035e789991ebdf0c514fd9dae8..c0d265f6861304f51e431cad2337e536f454cf29 100644
--- a/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
@@ -224,10 +224,10 @@ InterpolationValue CSSClipInterpolationType::maybeConvertValue(
InterpolationValue
CSSClipInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
- if (state.style()->hasAutoClip())
+ const ComputedStyle& style) const {
+ if (style.hasAutoClip())
return nullptr;
- return createClipValue(state.style()->clip(), state.style()->effectiveZoom());
+ return createClipValue(style.clip(), style.effectiveZoom());
}
PairwiseInterpolationValue CSSClipInterpolationType::maybeMergeSingles(

Powered by Google App Engine
This is Rietveld 408576698