| Index: content/public/browser/download_url_parameters.cc
|
| diff --git a/content/public/browser/download_url_parameters.cc b/content/public/browser/download_url_parameters.cc
|
| index bff885aa0acae777d3f30d61625c07d1ee493c5b..69ac603f4f9ecc4d40c985ce572a8f36ec0bcc2b 100644
|
| --- a/content/public/browser/download_url_parameters.cc
|
| +++ b/content/public/browser/download_url_parameters.cc
|
| @@ -10,6 +10,7 @@
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/resource_dispatcher_host.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "googleurl/src/gurl.h"
|
|
|
| @@ -47,7 +48,8 @@ DownloadUrlParameters* DownloadUrlParameters::FromWebContents(
|
| url,
|
| web_contents->GetRenderProcessHost()->GetID(),
|
| web_contents->GetRenderViewHost()->GetRoutingID(),
|
| - web_contents->GetBrowserContext()->GetResourceContext(),
|
| + content::BrowserContext::GetDefaultStoragePartition(web_contents->GetBrowserContext())->
|
| + GetResourceContext(),
|
| save_info);
|
| }
|
|
|
|
|