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

Unified Diff: chrome/browser/ui/ash/window_positioner_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/window_positioner_unittest.cc
diff --git a/chrome/browser/ui/ash/window_positioner_unittest.cc b/chrome/browser/ui/ash/window_positioner_unittest.cc
index d983dea4e1caa435554c11764609cc74ef6f4045..a71dd18179b34637edca5b7ae0c1cbf1cee42972 100644
--- a/chrome/browser/ui/ash/window_positioner_unittest.cc
+++ b/chrome/browser/ui/ash/window_positioner_unittest.cc
@@ -66,12 +66,12 @@ void WindowPositionerTest::SetUp() {
dummy_popup->SetBounds(gfx::Rect(16, 32, 128, 256));
// Create a browser for the window.
- Browser::CreateParams window_params(&profile_);
+ Browser::CreateParams window_params(&profile_, true);
browser_ = chrome::CreateBrowserWithAuraTestWindowForParams(
std::move(dummy_window), &window_params);
// Creating a browser for the popup.
- Browser::CreateParams popup_params(Browser::TYPE_POPUP, &profile_);
+ Browser::CreateParams popup_params(Browser::TYPE_POPUP, &profile_, true);
browser_popup_ = chrome::CreateBrowserWithAuraTestWindowForParams(
std::move(dummy_popup), &popup_params);

Powered by Google App Engine
This is Rietveld 408576698