| Index: Source/core/css/resolver/FontBuilder.cpp
|
| diff --git a/Source/core/css/resolver/FontBuilder.cpp b/Source/core/css/resolver/FontBuilder.cpp
|
| index 1c03e1495370171e5b2d913df294e0fbcff1ab70..57575db7de9c5e808c0050136c09c2f9d59dd25b 100644
|
| --- a/Source/core/css/resolver/FontBuilder.cpp
|
| +++ b/Source/core/css/resolver/FontBuilder.cpp
|
| @@ -122,29 +122,6 @@ void FontBuilder::didChangeFontParameters(bool changed)
|
| m_fontDirty |= changed;
|
| }
|
|
|
| -void FontBuilder::fromSystemFont(CSSValueID valueId, float effectiveZoom)
|
| -{
|
| - FontDescriptionChangeScope scope(this);
|
| -
|
| - FontDescription fontDescription;
|
| - RenderTheme::theme().systemFont(valueId, fontDescription);
|
| -
|
| - // Double-check and see if the theme did anything. If not, don't bother updating the font.
|
| - if (!fontDescription.isAbsoluteSize())
|
| - return;
|
| -
|
| - // Make sure the rendering mode and printer font settings are updated.
|
| - const Settings* settings = m_document->settings();
|
| - ASSERT(settings); // If we're doing style resolution, this document should always be in a frame and thus have settings
|
| - if (!settings)
|
| - return;
|
| - fontDescription.setUsePrinterFont(m_document->printing());
|
| -
|
| - // Handle the zoom factor.
|
| - fontDescription.setComputedSize(getComputedSizeFromSpecifiedSize(fontDescription, effectiveZoom, fontDescription.specifiedSize()));
|
| - scope.set(fontDescription);
|
| -}
|
| -
|
| void FontBuilder::setFontFamilyInitial()
|
| {
|
| FontDescriptionChangeScope scope(this);
|
|
|