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

Unified Diff: chrome/browser/ui/toolbar/browser_actions_bar_browsertest.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/toolbar/browser_actions_bar_browsertest.cc
diff --git a/chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc b/chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc
index 7c0e3f87f7e2bb15dfb29cf5102c43fc35419ecb..9ea5488dd5b01cee97bfa08770fc3e6c5a4c7e50 100644
--- a/chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc
+++ b/chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc
@@ -657,7 +657,7 @@ IN_PROC_BROWSER_TEST_F(BrowserActionsBarIncognitoTest, IncognitoMode) {
test_data_dir_.AppendASCII("api_test/browser_action_with_icon"));
ASSERT_TRUE(extension);
Browser* second_browser =
- new Browser(Browser::CreateParams(profile()->GetOriginalProfile()));
+ new Browser(Browser::CreateParams(profile()->GetOriginalProfile(), true));
base::RunLoop().RunUntilIdle();
EXPECT_FALSE(second_browser->profile()->IsOffTheRecord());

Powered by Google App Engine
This is Rietveld 408576698