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/css/resolver/StyleBuilderConverter.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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/css/resolver/StyleBuilderConverter.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
index 445fb9ac0a0f9faefbfca5f9779f9ebe479c7293..fd342613ea19d225c64ec20ef1ab92bd34b1ffb6 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
@@ -254,9 +254,9 @@ FontWeight StyleBuilderConverter::convertFontWeight(StyleResolverState& state, c
const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(value);
switch (primitiveValue.getValueID()) {
case CSSValueBolder:
- return FontDescription::bolderWeight(state.parentStyle()->fontDescription().weight());
+ return FontDescription::bolderWeight(state.parentStyle()->getFontDescription().weight());
case CSSValueLighter:
- return FontDescription::lighterWeight(state.parentStyle()->fontDescription().weight());
+ return FontDescription::lighterWeight(state.parentStyle()->getFontDescription().weight());
default:
return primitiveValue.convertTo<FontWeight>();
}

Powered by Google App Engine
This is Rietveld 408576698