aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni
blob: 5a5ccd520ed88dfad8631db5adc58f5f99ecbfd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/3rdparty/chromium/third_party/pdfium/pdfium.gni.orig	2023-02-08 09:03:45 UTC
+++ src/3rdparty/chromium/third_party/pdfium/pdfium.gni
@@ -42,7 +42,7 @@ declare_args() {
   pdf_use_cxx20 = is_win && is_component_build
 
   # Build PDFium with PartitionAlloc as the memory allocator.
-  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