| Index: chrome/browser/plugin_installer.cc
|
| diff --git a/chrome/browser/plugin_installer.cc b/chrome/browser/plugin_installer.cc
|
| index c85e4fa47c5ad24361d50330958f7daf82caadeb..e973b6b1ddaf311de61758d55d83119a56f61505 100644
|
| --- a/chrome/browser/plugin_installer.cc
|
| +++ b/chrome/browser/plugin_installer.cc
|
| @@ -24,6 +24,7 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/resource_context.h"
|
| #include "content/public/browser/resource_dispatcher_host.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "net/url_request/url_request.h"
|
| #include "webkit/plugins/npapi/plugin_group.h"
|
| @@ -206,7 +207,8 @@ void PluginInstaller::StartInstalling(TabContents* tab_contents) {
|
| BrowserThread::IO, FROM_HERE,
|
| base::Bind(&BeginDownload,
|
| plugin_url_,
|
| - tab_contents->profile()->GetResourceContext(),
|
| + content::BrowserContext::GetDefaultStoragePartition(
|
| + web_contents->GetBrowserContext())->GetResourceContext(),
|
| web_contents->GetRenderProcessHost()->GetID(),
|
| web_contents->GetRenderViewHost()->GetRoutingID(),
|
| base::Bind(&PluginInstaller::DownloadStarted,
|
|
|