webkit2gtk3/SOURCES/evolution-shared-secondary-process.patch

27 lines
1.1 KiB
Diff
Raw Normal View History

2023-05-16 06:08:37 +00:00
From ffe84688fc8a91b1e6d1c4462120fc44349a7c05 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@redhat.com>
Date: Thu, 27 Oct 2022 19:12:43 -0500
Subject: [PATCH] Force Evolution to use single secondary process
---
Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp | 3 +++
1 file changed, 3 insertions(+)
2020-11-03 11:45:31 +00:00
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
2023-05-16 06:08:37 +00:00
index 6bb6767869af..2a05a69d9b0d 100644
2020-11-03 11:45:31 +00:00
--- a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
+++ b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
2023-05-16 06:08:37 +00:00
@@ -431,6 +431,9 @@ static void webkitWebContextConstructed(GObject* object)
2022-05-10 07:00:08 +00:00
}
2023-05-16 06:08:37 +00:00
configuration.setTimeZoneOverride(String::fromUTF8(priv->timeZoneOverride.data(), priv->timeZoneOverride.length()));
2021-11-09 09:56:04 +00:00
+ if (!g_strcmp0(g_get_prgname(), "evolution"))
+ configuration.setUsesSingleWebProcess(true);
+
if (!priv->websiteDataManager)
priv->websiteDataManager = adoptGRef(webkit_website_data_manager_new("local-storage-directory", priv->localStorageDirectory.data(), nullptr));
2023-05-16 06:08:37 +00:00
--
2.31.1