summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);