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

15 lines
761 B
Diff
Raw Normal View History

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