Changeset 177221 in webkit


Ignore:
Timestamp:
Dec 12, 2014 4:34:19 AM (9 years ago)
Author:
Csaba Osztrogonác
Message:

Fix the !ENABLE(SVG_FONTS) build after r177078
https://bugs.webkit.org/show_bug.cgi?id=139578

Reviewed by Martin Robinson.

  • platform/graphics/cairo/FontCairo.cpp:

(WebCore::Font::dashesForIntersectionsWithRect):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r177219 r177221  
     12014-12-12  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix the !ENABLE(SVG_FONTS) build after r177078
     4        https://bugs.webkit.org/show_bug.cgi?id=139578
     5
     6        Reviewed by Martin Robinson.
     7
     8        * platform/graphics/cairo/FontCairo.cpp:
     9        (WebCore::Font::dashesForIntersectionsWithRect):
     10
    1112014-12-12  Zalan Bujtas  <zalan@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/cairo/FontCairo.cpp

    r177078 r177221  
    314314    if (!fontData->isSVGFont())
    315315        translator = std::make_unique<CairoGlyphToPathTranslator>(run, glyphBuffer, origin);
     316#if ENABLE(SVG_FONTS)
    316317    else {
    317318        TextRun::RenderingContext* renderingContext = run.renderingContext();
     
    321322        isSVG = true;
    322323    }
     324#endif
    323325    DashArray result;
    324326    for (int index = 0; translator->containsMorePaths(); ++index, translator->advance()) {
Note: See TracChangeset for help on using the changeset viewer.