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

Unified Diff: third_party/WebKit/Source/core/animation/CSSPathInterpolationType.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/CSSPathInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
index 779e71dfc0ccaeeb517e03eb9dbc820c6eafaded..acb37b61c1f19dbe7f880858260d579a289b51e2 100644
--- a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
@@ -97,10 +97,9 @@ InterpolationValue CSSPathInterpolationType::maybeConvertValue(
InterpolationValue
CSSPathInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
+ const ComputedStyle& style) const {
DCHECK_EQ(cssProperty(), CSSPropertyD);
- return PathInterpolationFunctions::convertValue(
- state.style()->svgStyle().d());
+ return PathInterpolationFunctions::convertValue(style.svgStyle().d());
}
PairwiseInterpolationValue CSSPathInterpolationType::maybeMergeSingles(

Powered by Google App Engine
This is Rietveld 408576698