Index: Source/core/layout/style/LayoutStyle.cpp |
diff --git a/Source/core/layout/style/LayoutStyle.cpp b/Source/core/layout/style/LayoutStyle.cpp |
index 238f0ee44cbabd0726dd4a26f7933e36a6fd9ace..4a2e5f8d56e4693c60445232479c043574898310 100644 |
--- a/Source/core/layout/style/LayoutStyle.cpp |
+++ b/Source/core/layout/style/LayoutStyle.cpp |
@@ -1186,7 +1186,7 @@ float LayoutStyle::specifiedFontSize() const { return fontDescription().specifie |
float LayoutStyle::computedFontSize() const { return fontDescription().computedSize(); } |
int LayoutStyle::fontSize() const { return fontDescription().computedPixelSize(); } |
float LayoutStyle::fontSizeAdjust() const { return fontDescription().sizeAdjust(); } |
-bool LayoutStyle::hasFontSizeAdjust() const { return fontDescription().sizeAdjust() > 0; } |
+bool LayoutStyle::hasFontSizeAdjust() const { return fontDescription().hasSizeAdjust(); } |
FontWeight LayoutStyle::fontWeight() const { return fontDescription().weight(); } |
FontStretch LayoutStyle::fontStretch() const { return fontDescription().stretch(); } |