summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-third__party_pdfium_pdfium.gni
blob: 62626da2b49f3e586406a465ffaef6c5a1950aab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/pdfium/pdfium.gni.orig	2024-02-25 20:22:18 UTC
+++ third_party/pdfium/pdfium.gni
@@ -42,7 +42,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
 
   # Build PDFium to use Skia (experimental) for all PDFium graphics.
   # If enabled, coexists in build with AGG graphics and the default