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

Unified Diff: chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.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/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
index 2114633bfbcbeba414b34e38ea904bdb625068cc..38ff3b9d90cf8cd27f97f18620961e536e815fe6 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
+++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
@@ -1561,7 +1561,7 @@ TEST_F(MultiUserWindowManagerChromeOSTest, GetActiveBrowserTest) {
aura::client::GetActivationClient(window(0)->GetRootWindow());
multi_user_window_manager()->SetWindowOwner(window(0), account_id_A);
Profile* profile = multi_user_util::GetProfileFromAccountId(account_id_A);
- Browser::CreateParams params(profile);
+ Browser::CreateParams params(profile, true);
std::unique_ptr<Browser> browser(CreateTestBrowser(
CreateTestWindowInShellWithId(0), gfx::Rect(16, 32, 640, 320), &params));
aura::Window* browser_native_window = browser->window()->GetNativeWindow();

Powered by Google App Engine
This is Rietveld 408576698