From ccc1d743a64fd71bee1a27f1f495978989b41126 Mon Sep 17 00:00:00 2001
From: Marius Bakke <marius@gnu.org>
Date: Sun, 26 Jul 2020 13:20:14 +0200
Subject: [PATCH] gnu: ungoogled-chromium: Use tcmalloc.

* gnu/packages/chromium.scm (%preserved-third-party-files): Preserve the
bundled fork of tcmalloc.
(ungoogled-chromium)[arguments]: Remove "use_allocator" from #:configure-flags.
---
 gnu/packages/chromium.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index d828c25bc2..d8aa27630b 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -227,6 +227,7 @@
     "third_party/swiftshader/third_party/marl" ;ASL2.0
     "third_party/swiftshader/third_party/subzero" ;NCSA
     "third_party/swiftshader/third_party/SPIRV-Headers" ;X11-style
+    "third_party/tcmalloc/chromium" ;BSD-3
     "third_party/usb_ids" ;BSD-3
     "third_party/usrsctp" ;BSD-2
     "third_party/vulkan_memory_allocator" ;Expat
@@ -490,7 +491,6 @@ chromium-fix-vaapi-on-intel.patch?h=packages/chromium\
              "goma_dir=\"\""
              "enable_nacl=false"
              "enable_nacl_nonsfi=false"
-             "use_allocator=\"none\""
              "use_unofficial_version_number=false"
              "treat_warnings_as_errors=false"
              "use_official_google_api_keys=false"