summaryrefslogtreecommitdiff
path: root/www/chromium
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-02-22 19:09:03 +0100
committerRene Ladan <rene@FreeBSD.org>2022-02-22 19:11:47 +0100
commit9b5c41643b8058ac5fc565dce3814c8e9f159db8 (patch)
tree384aba1789660856f0ba5680b9c281e2ba83a209 /www/chromium
parentx11-themes/Kvantum: Update to 1.0.1 (diff)
www/chromium: fix build on 12.X (older libc++)
PR: 262077 Fixes: a23dfd21 "www/chromium: update to 98.0.4758.102"
Diffstat (limited to 'www/chromium')
-rw-r--r--www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h
new file mode 100644
index 000000000000..b1d0d8621c7a
--- /dev/null
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h
@@ -0,0 +1,20 @@
+--- base/allocator/partition_allocator/starscan/state_bitmap.h.orig 2022-02-21 11:33:24.834416000 +0100
++++ base/allocator/partition_allocator/starscan/state_bitmap.h
+@@ -393,7 +393,7 @@ template <size_t PageSize, size_t PageAlignment, size_
+ template <typename Filter,
+ typename CallbackForwarder,
+ typename Callback,
+- bool Clear>
++ bool ClearBits>
+ inline void
+ StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateImpl(
+ size_t epoch,
+@@ -423,7 +423,7 @@ StateBitmap<PageSize, PageAlignment, AllocationAlignme
+
+ callback_forwarder(callback, object_address, bits);
+
+- if (Clear) {
++ if (ClearBits) {
+ // Clear the current bits.
+ AsAtomicCell(cell_index)
+ .fetch_and(clear_value_mask, std::memory_order_relaxed);