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

Unified Diff: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.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/CSSColorInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
index 8d16321df5192719b452309bc0f6cbb7b0564b5a..7b39b87440152540036cdb56e49634d3cd57c7c6 100644
--- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
@@ -243,10 +243,10 @@ InterpolationValue CSSColorInterpolationType::convertStyleColorPair(
InterpolationValue
CSSColorInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
+ const ComputedStyle& style) const {
return convertStyleColorPair(
- ColorPropertyFunctions::getUnvisitedColor(cssProperty(), *state.style()),
- ColorPropertyFunctions::getVisitedColor(cssProperty(), *state.style()));
+ ColorPropertyFunctions::getUnvisitedColor(cssProperty(), style),
+ ColorPropertyFunctions::getVisitedColor(cssProperty(), style));
}
void CSSColorInterpolationType::applyStandardPropertyValue(

Powered by Google App Engine
This is Rietveld 408576698