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

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: 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/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 74d65493dbdf1f5de76f631263c629f7c14cbe3b..782c4f5010ac05d20d64c01e9dfd98c4f0563e2e 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -531,7 +531,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