Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 4b9d6dc1acb3badb4ffcb229decf3b38eebb2f1a..4d9dafb0779ce9310bf1c770104580da69fde4cf 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -1198,16 +1198,16 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getFontSizeCSSValu |
return zoomAdjustedPixelValue(style->fontDescription().computedPixelSize(), *style); |
} |
-bool CSSComputedStyleDeclaration::useFixedFontDefaultSize() const |
+FixedPitchFontType CSSComputedStyleDeclaration::fixedPitchFontType() const |
{ |
if (!m_node) |
- return false; |
+ return NonFixedPitchFont; |
RefPtr<RenderStyle> style = m_node->computedStyle(m_pseudoElementSpecifier); |
if (!style) |
- return false; |
+ return NonFixedPitchFont; |
- return style->fontDescription().useFixedDefaultSize(); |
+ return style->fontDescription().fixedPitchFontType(); |
} |
PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::valueForShadowData(const ShadowData& shadow, const RenderStyle& style, bool useSpread) const |