Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2637)

Unified Diff: chrome/browser/ui/chrome_pages.cc

Issue 2685333005: ash: fix regression where ctrl+n put new window on wrong desktop (Closed)
Patch Set: We have both kinds of compile fixes: mac and windows Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/chrome_pages.cc
diff --git a/chrome/browser/ui/chrome_pages.cc b/chrome/browser/ui/chrome_pages.cc
index 443970abfb188bad281eaeeca273b7bcefbd86c1..bb5dfd54580c28f001403035abcb529b24bcd552 100644
--- a/chrome/browser/ui/chrome_pages.cc
+++ b/chrome/browser/ui/chrome_pages.cc
@@ -335,7 +335,7 @@ void ShowSettingsSubPageForProfile(Profile* profile,
}
Browser* browser = chrome::FindTabbedBrowser(profile, false);
if (!browser) {
- browser = new Browser(Browser::CreateParams(profile));
+ browser = new Browser(Browser::CreateParams(profile, true));
}
ShowSettingsSubPageInTabbedBrowser(browser, sub_page_path);
}

Powered by Google App Engine
This is Rietveld 408576698