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()); |