Index: chrome/browser/prefetch/prefetch_browsertest.cc |
diff --git a/chrome/browser/prefetch/prefetch_browsertest.cc b/chrome/browser/prefetch/prefetch_browsertest.cc |
index 9adb78d1610bbf14fb53fa72377fdaa9449c2058..19112909612d2be5311eae12128dcdcd56cf62bc 100644 |
--- a/chrome/browser/prefetch/prefetch_browsertest.cc |
+++ b/chrome/browser/prefetch/prefetch_browsertest.cc |
@@ -135,7 +135,7 @@ IN_PROC_BROWSER_TEST_F(PrefetchBrowserTestPrediction, PreferenceWorks) { |
IN_PROC_BROWSER_TEST_F(PrefetchBrowserTestPrediction, IncognitoTest) { |
Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); |
Browser* incognito_browser = |
- new Browser(Browser::CreateParams(incognito_profile)); |
+ new Browser(Browser::CreateParams(incognito_profile, true)); |
// Navigate just to have a tab in this window, otherwise there is no |
// WebContents for the incognito browser. |