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

Unified Diff: third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.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/CSSNumberInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
index b1f81cfee29caa6717a4e82e40a1ff9afe91a2b2..03954520d96541405d0015c69f3cadd1a917f976 100644
--- a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
@@ -81,9 +81,9 @@ InterpolationValue CSSNumberInterpolationType::maybeConvertValue(
InterpolationValue
CSSNumberInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
+ const ComputedStyle& style) const {
double underlyingNumber;
- if (!NumberPropertyFunctions::getNumber(cssProperty(), *state.style(),
+ if (!NumberPropertyFunctions::getNumber(cssProperty(), style,
underlyingNumber))
return nullptr;
return createNumberValue(underlyingNumber);

Powered by Google App Engine
This is Rietveld 408576698