Changeset 197298 in webkit


Ignore:
Timestamp:
Feb 28, 2016, 12:12:06 PM (9 years ago)
Author:
commit-queue@webkit.org
Message:

SVGToOTFFontConversion.cpp does not compile with libstdc++ 4.8
https://bugs.webkit.org/show_bug.cgi?id=154794

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-02-28
Reviewed by Michael Catanzaro.

No new tests needed.

  • svg/SVGToOTFFontConversion.cpp:

(WebCore::SVGToOTFFontConverter::appendLigatureSubtable): Added const
qualifiers.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r197263 r197298  
     12016-02-28  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        SVGToOTFFontConversion.cpp does not compile with libstdc++ 4.8
     4        https://bugs.webkit.org/show_bug.cgi?id=154794
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        No new tests needed.
     9
     10        * svg/SVGToOTFFontConversion.cpp:
     11        (WebCore::SVGToOTFFontConverter::appendLigatureSubtable): Added const
     12        qualifiers.
     13
    1142016-02-27  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp

    r196559 r197298  
    754754    if (ligaturePairs.size() > std::numeric_limits<uint16_t>::max())
    755755        ligaturePairs.clear();
    756     std::sort(ligaturePairs.begin(), ligaturePairs.end(), [](LigaturePair& lhs, LigaturePair& rhs) {
     756    std::sort(ligaturePairs.begin(), ligaturePairs.end(), [](const LigaturePair& lhs, const LigaturePair& rhs) {
    757757        return lhs.first[0] < rhs.first[0];
    758758    });
Note: See TracChangeset for help on using the changeset viewer.