Changeset 161741 in webkit


Ignore:
Timestamp:
Jan 10, 2014, 10:02:00 PM (12 years ago)
Author:
Joseph Pecoraro
Message:

Fix TileGrid.o for iOS. Unreviewed build fix.

Explicitly use namespace std in std::pair.

  • platform/ios/TileGrid.mm:

(WebCore::isFartherAway):
(WebCore::TileGrid::dropDistantTiles):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r161740 r161741  
     12014-01-10  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Fix TileGrid.o for iOS. Unreviewed build fix.
     4
     5        Explicitly use namespace std in std::pair.
     6
     7        * platform/ios/TileGrid.mm:
     8        (WebCore::isFartherAway):
     9        (WebCore::TileGrid::dropDistantTiles):
     10
    1112014-01-10  Joseph Pecoraro  <pecoraro@apple.com>
    212
  • trunk/Source/WebCore/platform/ios/TileGrid.mm

    r161690 r161741  
    105105
    106106template <typename T>
    107 static bool isFartherAway(const pair<double, T>& a, const pair<double, T>& b)
     107static bool isFartherAway(const std::pair<double, T>& a, const std::pair<double, T>& b)
    108108{
    109109    return a.first > b.first;
     
    124124
    125125    IntRect visibleRect = this->visibleRect();
    126     Vector<pair<double, TileIndex>> toRemove;
     126    Vector<std::pair<double, TileIndex>> toRemove;
    127127    for (auto tile : m_tiles) {
    128128        TileIndex& index = tile.key;
Note: See TracChangeset for help on using the changeset viewer.