ports/www/chromium/patches/patch-third_party_pdfium_pdfium_gni

13 lines
674 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: third_party/pdfium/pdfium.gni
--- third_party/pdfium/pdfium.gni.orig
+++ third_party/pdfium/pdfium.gni
2023-09-14 00:49:35 +00:00
@@ -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.
2023-08-16 22:26:55 +00:00
- 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