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

Unified Diff: chrome/browser/sessions/session_restore_browsertest.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/sessions/session_restore_browsertest.cc
diff --git a/chrome/browser/sessions/session_restore_browsertest.cc b/chrome/browser/sessions/session_restore_browsertest.cc
index c3a0a36733d27f79bfdb4fbf01c4d9bb63b09247..eece71e78c9430b1aa0ae941cc6bf568db2181fc 100644
--- a/chrome/browser/sessions/session_restore_browsertest.cc
+++ b/chrome/browser/sessions/session_restore_browsertest.cc
@@ -487,7 +487,7 @@ IN_PROC_BROWSER_TEST_F(SessionRestoreTest,
// Create a new popup.
Profile* profile = browser()->profile();
Browser* popup =
- new Browser(Browser::CreateParams(Browser::TYPE_POPUP, profile));
+ new Browser(Browser::CreateParams(Browser::TYPE_POPUP, profile, true));
popup->window()->Show();
// Close the browser.
« no previous file with comments | « chrome/browser/sessions/session_restore.cc ('k') | chrome/browser/sessions/session_restore_browsertest_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698