summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_util.cc')
-rw-r--r--chrome/browser/download/download_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 8ced2b4..0a54b01 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -258,7 +258,7 @@ void OpenChromeExtension(Profile* profile,
installer->set_apps_require_extension_mime_type(true);
installer->set_allow_privilege_increase(true);
installer->set_original_url(download_item.url());
- installer->set_limit_web_extent_to_download_host(!is_gallery_download);
+ installer->set_is_gallery_install(is_gallery_download);
installer->InstallCrx(download_item.full_path());
installer->set_allow_silent_install(is_gallery_download);
}