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

Unified Diff: third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.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/CSSFontWeightInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
index 910b7ca79490a1aa7861b2f185207c532e7d9e94..f8c475a4b26214326fec5681897534288647e8f5 100644
--- a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
@@ -130,8 +130,8 @@ InterpolationValue CSSFontWeightInterpolationType::maybeConvertValue(
InterpolationValue
CSSFontWeightInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
- const StyleResolverState& state) const {
- return createFontWeightValue(state.style()->fontWeight());
+ const ComputedStyle& style) const {
+ return createFontWeightValue(style.fontWeight());
}
void CSSFontWeightInterpolationType::applyStandardPropertyValue(

Powered by Google App Engine
This is Rietveld 408576698