Index: chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
diff --git a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
index 27e34043f8ff2dead8ce8ba2338324c9a507d68c..1a1b9ffd8818de1d596c9996a0a26f6f746aab2c 100644 |
--- a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
+++ b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
@@ -1333,7 +1333,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, MAYBE_NoIncognitoPrepopulate) { |
// Open a new incognito window and navigate to the same page. |
Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); |
Browser* incognito_browser = |
- new Browser(Browser::CreateParams(incognito_profile)); |
+ new Browser(Browser::CreateParams(incognito_profile, true)); |
content::WindowedNotificationObserver observer( |
content::NOTIFICATION_LOAD_STOP, |
content::NotificationService::AllSources()); |
@@ -1394,7 +1394,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, ActivateLinkNavigatesPage) { |
} |
IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, FitWindow) { |
- Browser::CreateParams params(Browser::TYPE_POPUP, browser()->profile()); |
+ Browser::CreateParams params(Browser::TYPE_POPUP, browser()->profile(), true); |
params.initial_bounds = gfx::Rect(0, 0, 250, 500); |
Browser* popup = new Browser(params); |
content::WindowedNotificationObserver observer( |