diff options
Diffstat (limited to 'chrome/browser/download/download_manager.cc')
-rw-r--r-- | chrome/browser/download/download_manager.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index ad8f16b..d8e3237 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -1235,10 +1235,8 @@ void DownloadManager::OpenDownload(const DownloadItem* download, void DownloadManager::OpenChromeExtension(const FilePath& full_path, const GURL& download_url, const GURL& referrer_url) { - // We don't support extensions in OTR mode. - if (profile_->GetExtensionsService()) - profile_->GetExtensionsService()->InstallExtension(full_path, download_url, - referrer_url); + profile_->GetOriginalProfile()->GetExtensionsService()-> + InstallExtension(full_path, download_url, referrer_url); } void DownloadManager::OpenDownloadInShell(const DownloadItem* download, |