Index: chrome/browser/apps/install_chrome_app.cc |
diff --git a/chrome/browser/apps/install_chrome_app.cc b/chrome/browser/apps/install_chrome_app.cc |
index 801684c30729bc72cf07c7cf97932592544b4cca..0f5fc2fa66f1e43481d27549e5f793b8e2a3193f 100644 |
--- a/chrome/browser/apps/install_chrome_app.cc |
+++ b/chrome/browser/apps/install_chrome_app.cc |
@@ -80,8 +80,7 @@ void InstallChromeApp(const std::string& app_id) { |
// At the moment InstallChromeApp() is called immediately after handling |
// startup URLs, so a browser is guaranteed to be created. If that changes we |
// may need to start a browser or browser session here. |
- Browser* browser = |
- BrowserList::GetInstance(chrome::HOST_DESKTOP_TYPE_NATIVE)->get(0); |
+ Browser* browser = BrowserList::GetInstance()->get(0); |
DCHECK(browser); |
content::OpenURLParams params(GetAppInstallUrl(app_id), |