Title: [101004] trunk/Source/WebKit2
Revision
101004
Author
carlo...@webkit.org
Date
2011-11-22 08:43:21 -0800 (Tue, 22 Nov 2011)

Log Message

Ensure web process before starting a download
https://bugs.webkit.org/show_bug.cgi?id=72499

Reviewed by Anders Carlsson.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::download): Call ensureWebProcess().

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (101003 => 101004)


--- trunk/Source/WebKit2/ChangeLog	2011-11-22 15:40:52 UTC (rev 101003)
+++ trunk/Source/WebKit2/ChangeLog	2011-11-22 16:43:21 UTC (rev 101004)
@@ -1,3 +1,13 @@
+2011-11-22  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        Ensure web process before starting a download
+        https://bugs.webkit.org/show_bug.cgi?id=72499
+
+        Reviewed by Anders Carlsson.
+
+        * UIProcess/WebContext.cpp:
+        (WebKit::WebContext::download): Call ensureWebProcess().
+
 2011-11-22  Csaba Osztrogonác  <o...@webkit.org>
 
         Unreviewed buildfix after r101001.

Modified: trunk/Source/WebKit2/UIProcess/WebContext.cpp (101003 => 101004)


--- trunk/Source/WebKit2/UIProcess/WebContext.cpp	2011-11-22 15:40:52 UTC (rev 101003)
+++ trunk/Source/WebKit2/UIProcess/WebContext.cpp	2011-11-22 16:43:21 UTC (rev 101004)
@@ -401,6 +401,8 @@
 
 DownloadProxy* WebContext::download(WebPageProxy* initiatingPage, const ResourceRequest& request)
 {
+    ensureWebProcess();
+
     DownloadProxy* download = createDownloadProxy();
     uint64_t initiatingPageID = initiatingPage ? initiatingPage->pageID() : 0;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to