summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/bundle_installer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/bundle_installer.cc')
-rw-r--r--chrome/browser/extensions/bundle_installer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc
index b068680..b9c3f5f 100644
--- a/chrome/browser/extensions/bundle_installer.cc
+++ b/chrome/browser/extensions/bundle_installer.cc
@@ -107,7 +107,6 @@ BundleInstaller::BundleInstaller(Browser* browser,
const BundleInstaller::ItemList& items)
: approved_(false),
browser_(browser),
- host_desktop_type_(browser->host_desktop_type()),
profile_(browser->profile()),
delegate_(NULL) {
BrowserList::AddObserver(this);
@@ -273,7 +272,7 @@ void BundleInstaller::ShowPrompt() {
if (!browser) {
// The browser that we got initially could have gone away during our
// thread hopping.
- browser = chrome::FindLastActiveWithProfile(profile_, host_desktop_type_);
+ browser = chrome::FindLastActiveWithProfile(profile_);
}
content::WebContents* web_contents = NULL;
if (browser)