Index: chrome/browser/download/download_crx_util.cc |
diff --git a/chrome/browser/download/download_crx_util.cc b/chrome/browser/download/download_crx_util.cc |
index bea0aaa11497c844291c218286ce44bcc78932ae..8c260249de36135d68fcd1442d0e91c466a2e30b 100644 |
--- a/chrome/browser/download/download_crx_util.cc |
+++ b/chrome/browser/download/download_crx_util.cc |
@@ -102,10 +102,9 @@ scoped_refptr<extensions::CrxInstaller> OpenChromeExtension( |
WebstoreInstaller::GetAssociatedApproval(download_item) != NULL; |
installer->set_original_mime_type(download_item.GetOriginalMimeType()); |
installer->set_apps_require_extension_mime_type(true); |
- installer->set_download_url(download_item.GetURL()); |
installer->set_is_gallery_install(is_gallery_download); |
if (is_gallery_download) |
- installer->set_original_download_url(download_item.GetOriginalUrl()); |
+ installer->set_download_id(download_item.GetId()); |
installer->set_allow_silent_install(is_gallery_download); |
installer->InstallCrx(download_item.GetFullPath()); |
} |