Roll base/allocator/partition_allocator/ 9e9b9fe53..f91d5ba23 (15 commits)
https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator.git/+log/9e9b9fe53bdc..f91d5ba232cb
In particular, pick up https://crrev.com/1174732 for testing PA
Free() API changes against PDFium code.
Update PDFium's private BUILDCONFIG.gn to mirror mac changes.
Also adapt for API change introduced in https://crrev.com/1174560.
Created with manual change on top of:
roll-dep base/allocator/partition_allocator
Change-Id: I8148f3e9d51f02b597333dfc4a2b81fccbd85ec5
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/110390
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/DEPS b/DEPS
index e75a8bb..86f522d 100644
--- a/DEPS
+++ b/DEPS
@@ -152,7 +152,7 @@
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling partition_allocator
# and whatever else without interference from each other.
- 'partition_allocator_revision': '9e9b9fe53bdcdebca5472e2cc143b2eb933e7aa2',
+ 'partition_allocator_revision': 'f91d5ba232cbe61b9740b4101a5b5bea3cd631ed',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling pdfium_tests
# and whatever else without interference from each other.
diff --git a/build_overrides/BUILDCONFIG.gn b/build_overrides/BUILDCONFIG.gn
index 2b9bbd6..d5ced94 100644
--- a/build_overrides/BUILDCONFIG.gn
+++ b/build_overrides/BUILDCONFIG.gn
@@ -369,6 +369,10 @@
]
}
+if (is_apple) {
+ default_compiler_configs += [ "//build/config/compiler:enable_arc2" ]
+}
+
if (is_posix) {
if (current_os != "aix") {
default_compiler_configs +=
diff --git a/testing/unit_test_main.cpp b/testing/unit_test_main.cpp
index fb0bed2..30d4203 100644
--- a/testing/unit_test_main.cpp
+++ b/testing/unit_test_main.cpp
@@ -29,7 +29,7 @@
allocator_shim::EnableMemoryTagging(false),
allocator_shim::SplitMainPartition(true),
allocator_shim::UseDedicatedAlignedPartition(true), 0,
- allocator_shim::AlternateBucketDistribution::kDefault);
+ allocator_shim::BucketDistribution::kNeutral);
#endif // BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
#endif // defined(PDF_USE_PARTITION_ALLOC)