Title: [243895] trunk/Source/WebCore
Revision
243895
Author
[email protected]
Date
2019-04-04 13:34:08 -0700 (Thu, 04 Apr 2019)

Log Message

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

* platform/ios/LegacyTileGrid.mm:
(WebCore::LegacyTileGrid::dropDistantTiles):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (243894 => 243895)


--- trunk/Source/WebCore/ChangeLog	2019-04-04 20:31:34 UTC (rev 243894)
+++ trunk/Source/WebCore/ChangeLog	2019-04-04 20:34:08 UTC (rev 243895)
@@ -1,3 +1,10 @@
+2019-04-04  Chris Dumez  <[email protected]>
+
+        Unreviewed, update r243884 to use macros in Compiler.h instead.
+
+        * platform/ios/LegacyTileGrid.mm:
+        (WebCore::LegacyTileGrid::dropDistantTiles):
+
 2019-04-04  Chris Fleizach  <[email protected]>
 
         AX: Crash under WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored()

Modified: trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm (243894 => 243895)


--- trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm	2019-04-04 20:31:34 UTC (rev 243894)
+++ trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm	2019-04-04 20:34:08 UTC (rev 243895)
@@ -130,14 +130,13 @@
         if (distance <= shortestDistance)
             continue;
         toRemove.append(std::make_pair(distance, index));
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+        ALLOW_DEPRECATED_DECLARATIONS_BEGIN
         std::push_heap(toRemove.begin(), toRemove.end(), std::ptr_fun(isFartherAway<TileIndex>));
         if (toRemove.size() > tilesToRemoveCount) {
             std::pop_heap(toRemove.begin(), toRemove.end(), std::ptr_fun(isFartherAway<TileIndex>));
-#pragma clang diagnostic pop
             toRemove.removeLast();
         }
+        ALLOW_DEPRECATED_DECLARATIONS_END
     }
     size_t removeCount = toRemove.size();
     for (size_t n = 0; n < removeCount; ++n)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to