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

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 2685333005: ash: fix regression where ctrl+n put new window on wrong desktop (Closed)
Patch Set: We have both kinds of compile fixes: mac and windows 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/sync/test/integration/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index d127241544f74ea4fc017ac4b0e9ae16d582091e..9ddea359d032ddffcbe43a7a32f0207dc7de8545 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -530,7 +530,8 @@ void SyncTest::InitializeProfile(int index, Profile* profile) {
profiles_[index] = profile;
// CheckInitialState() assumes that no windows are open at startup.
- browsers_[index] = new Browser(Browser::CreateParams(GetProfile(index)));
+ browsers_[index] =
+ new Browser(Browser::CreateParams(GetProfile(index), true));
EXPECT_NE(nullptr, GetBrowser(index)) << "Could not create Browser " << index;

Powered by Google App Engine
This is Rietveld 408576698