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

Unified Diff: third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.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/CSSTranslateInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
index 546dd6fae714e493d67cf87bfa8f9c9710f90eab..cbe54457ff291cd478fa0e646b5af8039134b8f2 100644
--- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
@@ -139,9 +139,8 @@ InterpolationValue CSSTranslateInterpolationType::maybeConvertValue(
InterpolationValue
CSSTranslateInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
- return convertTranslateOperation(state.style()->translate(),
- state.style()->effectiveZoom());
+ const ComputedStyle& style) const {
+ return convertTranslateOperation(style.translate(), style.effectiveZoom());
}
void CSSTranslateInterpolationType::applyStandardPropertyValue(

Powered by Google App Engine
This is Rietveld 408576698