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 49eb884d225798de8075a796214049ae7f20f058..3616e43621ad6fc48de04710088ca4b9c561b169 100644 |
--- a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
+++ b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
@@ -1324,8 +1324,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, |
- browser()->host_desktop_type())); |
+ new Browser(Browser::CreateParams(incognito_profile)); |
content::WindowedNotificationObserver observer( |
content::NOTIFICATION_LOAD_STOP, |
content::NotificationService::AllSources()); |
@@ -1386,8 +1385,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, ActivateLinkNavigatesPage) { |
} |
IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, FitWindow) { |
- Browser::CreateParams params(Browser::TYPE_POPUP, browser()->profile(), |
- browser()->host_desktop_type()); |
+ Browser::CreateParams params(Browser::TYPE_POPUP, browser()->profile()); |
params.initial_bounds = gfx::Rect(0, 0, 250, 500); |
Browser* popup = new Browser(params); |
content::WindowedNotificationObserver observer( |