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

Unified Diff: chrome/test/base/browser_with_test_window_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/test/base/browser_with_test_window_test.cc
diff --git a/chrome/test/base/browser_with_test_window_test.cc b/chrome/test/base/browser_with_test_window_test.cc
index cbc2e3e2d546589b35f35be513b2a78b266f568e..bb950d31f22764983d32cd1212fe599f30ea88fb 100644
--- a/chrome/test/base/browser_with_test_window_test.cc
+++ b/chrome/test/base/browser_with_test_window_test.cc
@@ -200,10 +200,10 @@ Browser* BrowserWithTestWindowTest::CreateBrowser(
Browser::Type browser_type,
bool hosted_app,
BrowserWindow* browser_window) {
- Browser::CreateParams params(profile);
+ Browser::CreateParams params(profile, true);
if (hosted_app) {
params = Browser::CreateParams::CreateForApp(
- "Test", true /* trusted_source */, gfx::Rect(), profile);
+ "Test", true /* trusted_source */, gfx::Rect(), profile, true);
} else {
params.type = browser_type;
}

Powered by Google App Engine
This is Rietveld 408576698