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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationType.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/CSSInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
index 2ecc9671892393b366d53034fd555488590e61a2..2a76ad780539ed1d0381f6b9437fd20f50cfeda7 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
@@ -257,7 +257,7 @@ InterpolationValue CSSInterpolationType::maybeConvertUnderlyingValue(
const InterpolationEnvironment& environment) const {
const StyleResolverState& state = environment.state();
if (!getProperty().isCSSCustomProperty()) {
- return maybeConvertStandardPropertyUnderlyingValue(state);
+ return maybeConvertStandardPropertyUnderlyingValue(*state.style());
}
const PropertyHandle property = getProperty();

Powered by Google App Engine
This is Rietveld 408576698