aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni
blob: 838db51413734d304da8376e6c7557ff04ecc37b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/3rdparty/chromium/third_party/pdfium/pdfium.gni.orig	2023-10-11 18:22:24 UTC
+++ src/3rdparty/chromium/third_party/pdfium/pdfium.gni
@@ -46,7 +46,7 @@ declare_args() {
   # PDFium will use PartitionAlloc partitions to separate strings, scalars,
   # etc. from other allocations. However, the use of PartitionAlloc for new or
   # malloc is controlled by args in build_overrides/partition_alloc.gni.
-  pdf_use_partition_alloc = pdf_use_partition_alloc_override
+  pdf_use_partition_alloc = pdf_use_partition_alloc_override && use_partition_alloc_as_malloc
 
   # Temporary config allowing chromium to switch its location of the
   # partition_alloc library. https://crbug.com/1467773