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>(); |
} |