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

Unified Diff: third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.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/CSSLengthListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
index 1d4efe42de72aacd86f060dc4f8dcf2727752539..b26297c03085fd58e3d83d46b5fb4abf1f0ce7ec 100644
--- a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
@@ -128,13 +128,12 @@ PairwiseInterpolationValue CSSLengthListInterpolationType::maybeMergeSingles(
InterpolationValue
CSSLengthListInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
+ const ComputedStyle& style) const {
Vector<Length> underlyingLengthList;
- if (!LengthListPropertyFunctions::getLengthList(cssProperty(), *state.style(),
+ if (!LengthListPropertyFunctions::getLengthList(cssProperty(), style,
underlyingLengthList))
return nullptr;
- return maybeConvertLengthList(underlyingLengthList,
- state.style()->effectiveZoom());
+ return maybeConvertLengthList(underlyingLengthList, style.effectiveZoom());
}
void CSSLengthListInterpolationType::composite(

Powered by Google App Engine
This is Rietveld 408576698