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

27 lines
1.1 KiB
Diff
Raw Normal View History

2022-12-09 14:10:40 +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-12-01 10:10:15 +00:00
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
2022-12-09 14:10:40 +00:00
index 6bb6767869af..2a05a69d9b0d 100644
2020-12-01 10:10:15 +00:00
--- a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
+++ b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
2022-12-09 14:10:40 +00:00
@@ -431,6 +431,9 @@ static void webkitWebContextConstructed(GObject* object)
2022-01-27 05:06:50 +00:00
}
2022-12-09 14:10:40 +00:00
configuration.setTimeZoneOverride(String::fromUTF8(priv->timeZoneOverride.data(), priv->timeZoneOverride.length()));
2021-06-29 17:57:21 +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));
2022-12-09 14:10:40 +00:00
--
2.31.1