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

Unified Diff: third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.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/CSSTextIndentInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
index af0280688a3596d869d137a70fd0dbaeedee80f4..5886323ac62dbbba3fef7fc27055207bbbee6d3d 100644
--- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
@@ -178,8 +178,7 @@ InterpolationValue CSSTextIndentInterpolationType::maybeConvertValue(
InterpolationValue
CSSTextIndentInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
- const ComputedStyle& style = *state.style();
+ const ComputedStyle& style) const {
return createValue(style.textIndent(), IndentMode(style),
style.effectiveZoom());
}

Powered by Google App Engine
This is Rietveld 408576698