Ignore:
Timestamp:
Apr 21, 2016, 1:07:40 PM (9 years ago)
Author:
[email protected]
Message:

Fixed compilation with !ENABLE(SVG_FONTS).
https://bugs.webkit.org/show_bug.cgi?id=156850

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-04-21
Reviewed by Michael Catanzaro.

No new tests needed.

  • css/CSSFontFaceSource.cpp:

(WebCore::CSSFontFaceSource::CSSFontFaceSource):
Added missing ENABLE(SVG_FONTS) guards.

  • css/CSSFontFaceSource.h: Ditto.
  • platform/graphics/FontCascade.cpp: Ditto.
  • svg/SVGToOTFFontConversion.cpp:

(WebCore::FontCascade::drawGlyphBuffer): Deleted extraneous
!ENABLE(SVG_FONTS) guard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/css/CSSFontFaceSource.cpp

    r198074 r199830  
    7474    , m_font(font)
    7575    , m_face(owner)
     76#if ENABLE(SVG_FONTS)
    7677    , m_svgFontFaceElement(fontFace)
     78#endif
    7779{
     80#if !ENABLE(SVG_FONTS)
     81    UNUSED_PARAM(fontFace);
     82#endif
     83
    7884    // This may synchronously call fontLoaded().
    7985    if (m_font)
Note: See TracChangeset for help on using the changeset viewer.