summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/app_controller_mac.mm')
-rw-r--r--chrome/browser/app_controller_mac.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 8b78e26..4fb994e 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -692,7 +692,8 @@ void RecordLastRunAppBundlePath() {
Browser* browser = chrome::FindBrowserWithProfile(
profiles[i], chrome::HOST_DESKTOP_TYPE_NATIVE);
if (!browser) {
- browser = new Browser(Browser::CreateParams(profiles[i]));
+ browser = new Browser(Browser::CreateParams(
+ profiles[i], chrome::HOST_DESKTOP_TYPE_NATIVE));
browser->window()->Show();
}
DCHECK(browser);
@@ -1114,7 +1115,8 @@ void RecordLastRunAppBundlePath() {
Browser* browser = chrome::GetLastActiveBrowser();
// if no browser window exists then create one with no tabs to be filled in
if (!browser) {
- browser = new Browser(Browser::CreateParams([self lastProfile]));
+ browser = new Browser(Browser::CreateParams(
+ [self lastProfile], chrome::HOST_DESKTOP_TYPE_NATIVE));
browser->window()->Show();
}