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

Unified Diff: third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.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/CSSBasicShapeInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
index 2ab229ba7567962db38130a676d48a57d9755c48..a66f431ae397f6fcf92252cd439fd64584ab86d2 100644
--- a/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
@@ -126,8 +126,7 @@ PairwiseInterpolationValue CSSBasicShapeInterpolationType::maybeMergeSingles(
InterpolationValue
CSSBasicShapeInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
- const ComputedStyle& style = *state.style();
+ const ComputedStyle& style) const {
return BasicShapeInterpolationFunctions::maybeConvertBasicShape(
BasicShapePropertyFunctions::getBasicShape(cssProperty(), style),
style.effectiveZoom());

Powered by Google App Engine
This is Rietveld 408576698