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

15 lines
761 B
Diff
Raw Normal View History

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
2022-05-10 07:00:08 +00:00
index bd2d4d20206f..0fe471bde384 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
2022-05-10 07:00:08 +00:00
@@ -415,6 +415,9 @@ static void webkitWebContextConstructed(GObject* object)
g_clear_pointer(&priv->memoryPressureSettings, webkit_memory_pressure_settings_free);
}
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));