| Index: chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc b/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| index d5b28218e05dfd0a5b7816df7b1c6f805a56debf..9f54acb6bcb04bad8b92696c0748e6fbd0037d7e 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
|
| @@ -77,30 +77,30 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, LastUsedProfileActivated) {
|
| // The last used profile (the profile_2 in this case) must be active.
|
| ASSERT_EQ(1u, chrome::GetBrowserCount(profile_2,
|
| browser()->host_desktop_type()));
|
| - new_browser = FindBrowserWithProfile(profile_2,
|
| - browser()->host_desktop_type());
|
| + new_browser =
|
| + chrome::FindBrowserWithProfile(profile_2, browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_TRUE(new_browser->window()->IsActive());
|
|
|
| // All other profiles browser should not be active.
|
| ASSERT_EQ(1u, chrome::GetBrowserCount(profile_1,
|
| browser()->host_desktop_type()));
|
| - new_browser = FindBrowserWithProfile(profile_1,
|
| - browser()->host_desktop_type());
|
| + new_browser =
|
| + chrome::FindBrowserWithProfile(profile_1, browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_FALSE(new_browser->window()->IsActive());
|
|
|
| ASSERT_EQ(1u, chrome::GetBrowserCount(profile_3,
|
| browser()->host_desktop_type()));
|
| - new_browser = FindBrowserWithProfile(profile_3,
|
| - browser()->host_desktop_type());
|
| + new_browser =
|
| + chrome::FindBrowserWithProfile(profile_3, browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_FALSE(new_browser->window()->IsActive());
|
|
|
| ASSERT_EQ(1u, chrome::GetBrowserCount(profile_4,
|
| browser()->host_desktop_type()));
|
| - new_browser = FindBrowserWithProfile(profile_4,
|
| - browser()->host_desktop_type());
|
| + new_browser =
|
| + chrome::FindBrowserWithProfile(profile_4, browser()->host_desktop_type());
|
| ASSERT_TRUE(new_browser);
|
| EXPECT_FALSE(new_browser->window()->IsActive());
|
| }
|
|
|