Changeset 243895 in webkit
- Timestamp:
- Apr 4, 2019, 1:34:08 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/ios/LegacyTileGrid.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r243894 r243895 1 2019-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 1 8 2019-04-04 Chris Fleizach <cfleizach@apple.com> 2 9 -
trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm
r243884 r243895 131 131 continue; 132 132 toRemove.append(std::make_pair(distance, index)); 133 #pragma clang diagnostic push 134 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 133 ALLOW_DEPRECATED_DECLARATIONS_BEGIN 135 134 std::push_heap(toRemove.begin(), toRemove.end(), std::ptr_fun(isFartherAway<TileIndex>)); 136 135 if (toRemove.size() > tilesToRemoveCount) { 137 136 std::pop_heap(toRemove.begin(), toRemove.end(), std::ptr_fun(isFartherAway<TileIndex>)); 138 #pragma clang diagnostic pop139 137 toRemove.removeLast(); 140 138 } 139 ALLOW_DEPRECATED_DECLARATIONS_END 141 140 } 142 141 size_t removeCount = toRemove.size();
Note:
See TracChangeset
for help on using the changeset viewer.