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

Unified Diff: third_party/WebKit/Source/core/animation/CSSImageInterpolationType.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/CSSImageInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
index 4b24b49967b06da2860a5cd2a71956c9afa618ac..08a24289d6686326062eedc2c764553565a6f71e 100644
--- a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
@@ -221,10 +221,9 @@ InterpolationValue CSSImageInterpolationType::maybeConvertValue(
InterpolationValue
CSSImageInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
+ const ComputedStyle& style) const {
return maybeConvertStyleImage(
- ImagePropertyFunctions::getStyleImage(cssProperty(), *state.style()),
- true);
+ ImagePropertyFunctions::getStyleImage(cssProperty(), style), true);
}
void CSSImageInterpolationType::composite(

Powered by Google App Engine
This is Rietveld 408576698