| Index: chrome/browser/plugins/plugin_installer.cc
|
| diff --git a/chrome/browser/plugins/plugin_installer.cc b/chrome/browser/plugins/plugin_installer.cc
|
| index 837be684f42102e2512b2126131757a7a14832d7..710ae5dac22f530bdd1d51b4756fad2ba7176e55 100644
|
| --- a/chrome/browser/plugins/plugin_installer.cc
|
| +++ b/chrome/browser/plugins/plugin_installer.cc
|
| @@ -104,8 +104,8 @@ void PluginInstaller::StartInstallingWithDownloadManager(
|
| state_ = INSTALLER_STATE_DOWNLOADING;
|
| FOR_EACH_OBSERVER(PluginInstallerObserver, observers_, DownloadStarted());
|
| std::unique_ptr<content::DownloadUrlParameters> download_parameters(
|
| - content::DownloadUrlParameters::FromWebContents(web_contents,
|
| - plugin_url));
|
| + content::DownloadUrlParameters::CreateForWebContentsMainFrame(
|
| + web_contents, plugin_url));
|
| download_parameters->set_callback(
|
| base::Bind(&PluginInstaller::DownloadStarted, base::Unretained(this)));
|
| RecordDownloadSource(DOWNLOAD_INITIATED_BY_PLUGIN_INSTALLER);
|
|
|