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

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: Rebase to ToT 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 6dea3c41769b4b1dc502b62c83baff2c8ca48dca..95ad166e6a95ada4a1c4abb0ff75ea6165f70379 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);
}
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698