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

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: 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/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 883b6ff7e6f54b0bec08e06581fb5aa9d320ad1f..08a9dd7ab2e11003e9966c62b718e8181912b179 100644
--- a/chrome/test/base/browser_with_test_window_test.cc
+++ b/chrome/test/base/browser_with_test_window_test.cc
@@ -198,10 +198,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;
}
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698