Title: [266592] releases/WebKitGTK/webkit-2.30/Source/WebKit
Revision
266592
Author
[email protected]
Date
2020-09-04 04:16:31 -0700 (Fri, 04 Sep 2020)

Log Message

Merge r266389 - [GTK][WPE] Do not use the default WebsiteDataStore for downloads
https://bugs.webkit.org/show_bug.cgi?id=216001

Reviewed by Adrian Perez de Castro.

Use the web context one instead.

* UIProcess/API/glib/WebKitWebContext.cpp:
(webkitWebContextStartDownload):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.30/Source/WebKit/ChangeLog (266591 => 266592)


--- releases/WebKitGTK/webkit-2.30/Source/WebKit/ChangeLog	2020-09-04 11:16:27 UTC (rev 266591)
+++ releases/WebKitGTK/webkit-2.30/Source/WebKit/ChangeLog	2020-09-04 11:16:31 UTC (rev 266592)
@@ -1,3 +1,15 @@
+2020-09-01  Carlos Garcia Campos  <[email protected]>
+
+        [GTK][WPE] Do not use the default WebsiteDataStore for downloads
+        https://bugs.webkit.org/show_bug.cgi?id=216001
+
+        Reviewed by Adrian Perez de Castro.
+
+        Use the web context one instead.
+
+        * UIProcess/API/glib/WebKitWebContext.cpp:
+        (webkitWebContextStartDownload):
+
 2020-08-20  Carlos Garcia Campos  <[email protected]>
 
         [GTK][WPE] Debug crashes in backdrop filter tests

Modified: releases/WebKitGTK/webkit-2.30/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp (266591 => 266592)


--- releases/WebKitGTK/webkit-2.30/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp	2020-09-04 11:16:27 UTC (rev 266591)
+++ releases/WebKitGTK/webkit-2.30/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp	2020-09-04 11:16:31 UTC (rev 266592)
@@ -1874,7 +1874,8 @@
 WebKitDownload* webkitWebContextStartDownload(WebKitWebContext* context, const char* uri, WebPageProxy* initiatingPage)
 {
     WebCore::ResourceRequest request(String::fromUTF8(uri));
-    return webkitWebContextGetOrCreateDownload(&context->priv->processPool->download(WebKit::WebsiteDataStore::defaultDataStore().get(), initiatingPage, request));
+    auto& websiteDataStore = webkitWebsiteDataManagerGetDataStore(context->priv->websiteDataManager.get());
+    return webkitWebContextGetOrCreateDownload(&context->priv->processPool->download(websiteDataStore, initiatingPage, request));
 }
 
 void webkitWebContextRemoveDownload(DownloadProxy* downloadProxy)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to