summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.mm
diff options
context:
space:
mode:
authorgab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-25 19:10:21 +0000
committergab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-25 19:10:21 +0000
commitc125cdcf35076904687764fe752737b2e47179ae (patch)
tree0edafdaa4b98cc531067faa11b42f39b63e0c668 /chrome/browser/app_controller_mac.mm
parentf6c1473ed7cb72a5b96f6e681dc8e4be9c06ab94 (diff)
downloadchromium_src-c125cdcf35076904687764fe752737b2e47179ae.zip
chromium_src-c125cdcf35076904687764fe752737b2e47179ae.tar.gz
chromium_src-c125cdcf35076904687764fe752737b2e47179ae.tar.bz2
Finally phase out non-multi-desktop-aware Browser::CreateParams()'s!!
Done and done, woohoo!! BUG=129187 Review URL: https://chromiumcodereview.appspot.com/12310086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184455 0039d316-1c4b-4281-b951-d872f2087c98
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();
}