⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243895 in webkit


Ignore:
Timestamp:
Apr 4, 2019, 1:34:08 PM (7 years ago)
Author:
Chris Dumez
Message:

Unreviewed, update r243884 to use macros in Compiler.h instead.

  • platform/ios/LegacyTileGrid.mm:

(WebCore::LegacyTileGrid::dropDistantTiles):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r243894 r243895  
     12019-04-04  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, update r243884 to use macros in Compiler.h instead.
     4
     5        * platform/ios/LegacyTileGrid.mm:
     6        (WebCore::LegacyTileGrid::dropDistantTiles):
     7
    182019-04-04  Chris Fleizach  <cfleizach@apple.com>
    29
  • trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm

    r243884 r243895  
    131131            continue;
    132132        toRemove.append(std::make_pair(distance, index));
    133 #pragma clang diagnostic push
    134 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
     133        ALLOW_DEPRECATED_DECLARATIONS_BEGIN
    135134        std::push_heap(toRemove.begin(), toRemove.end(), std::ptr_fun(isFartherAway<TileIndex>));
    136135        if (toRemove.size() > tilesToRemoveCount) {
    137136            std::pop_heap(toRemove.begin(), toRemove.end(), std::ptr_fun(isFartherAway<TileIndex>));
    138 #pragma clang diagnostic pop
    139137            toRemove.removeLast();
    140138        }
     139        ALLOW_DEPRECATED_DECLARATIONS_END
    141140    }
    142141    size_t removeCount = toRemove.size();
Note: See TracChangeset for help on using the changeset viewer.