Remove use of NetworkProcess::singleton for downloads
Created attachment 358524 [details] Patch
Comment on attachment 358524 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=358524&action=review > Source/WebKit/NetworkProcess/Downloads/PendingDownload.h:51 > + PendingDownload(IPC::Connection*, NetworkLoadParameters&&, DownloadID, NetworkSession&, const String& suggestedName); > + PendingDownload(IPC::Connection*, std::unique_ptr<NetworkLoad>&&, ResponseCompletionHandler&&, DownloadID, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&); Sure wish we could make these take Connection&
Wouldn't it be great? http://trac.webkit.org/r239699
<rdar://problem/47096626>