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

Unified Diff: chrome/browser/ui/webui/options/sync_setup_handler.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/webui/options/sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/options/sync_setup_handler.cc b/chrome/browser/ui/webui/options/sync_setup_handler.cc
index d9f8054b6926e6b90a95c0b89bd15084cc6475fc..c24a5fe5dd1285598e83b1549c933423e9a18c1d 100644
--- a/chrome/browser/ui/webui/options/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/options/sync_setup_handler.cc
@@ -363,8 +363,8 @@ void SyncSetupHandler::DisplayGaiaLoginInNewTabOrWindow(
bool force_new_tab = false;
if (!browser) {
// Settings is not displayed in a browser window. Open a new window.
- browser =
- new Browser(Browser::CreateParams(Browser::TYPE_TABBED, GetProfile()));
+ browser = new Browser(
+ Browser::CreateParams(Browser::TYPE_TABBED, GetProfile(), true));
force_new_tab = true;
}
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_contents_handler.cc ('k') | chrome/browser/ui/webui/settings/people_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698