Title: [243884] trunk/Source/WebCore
- Revision
- 243884
- Author
- [email protected]
- Date
- 2019-04-04 11:45:10 -0700 (Thu, 04 Apr 2019)
Log Message
Unreviewed, fix iOS build with recent SDKs.
std::ptr_fun() is deprecated.
* platform/ios/LegacyTileGrid.mm:
(WebCore::LegacyTileGrid::dropDistantTiles):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (243883 => 243884)
--- trunk/Source/WebCore/ChangeLog 2019-04-04 17:55:22 UTC (rev 243883)
+++ trunk/Source/WebCore/ChangeLog 2019-04-04 18:45:10 UTC (rev 243884)
@@ -1,3 +1,12 @@
+2019-04-04 Chris Dumez <[email protected]>
+
+ Unreviewed, fix iOS build with recent SDKs.
+
+ std::ptr_fun() is deprecated.
+
+ * platform/ios/LegacyTileGrid.mm:
+ (WebCore::LegacyTileGrid::dropDistantTiles):
+
2019-04-04 Antoine Quint <[email protected]>
[Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event
Modified: trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm (243883 => 243884)
--- trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm 2019-04-04 17:55:22 UTC (rev 243883)
+++ trunk/Source/WebCore/platform/ios/LegacyTileGrid.mm 2019-04-04 18:45:10 UTC (rev 243884)
@@ -130,9 +130,12 @@
if (distance <= shortestDistance)
continue;
toRemove.append(std::make_pair(distance, index));
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
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();
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes