| Index: chrome/browser/app_controller_mac_browsertest.mm
|
| diff --git a/chrome/browser/app_controller_mac_browsertest.mm b/chrome/browser/app_controller_mac_browsertest.mm
|
| index 7bd1c796b747216168b7348c9370ea81bf7a3c83..d9fc6b4fcffc6dda9815fd1bbb42b3b4657a7145 100644
|
| --- a/chrome/browser/app_controller_mac_browsertest.mm
|
| +++ b/chrome/browser/app_controller_mac_browsertest.mm
|
| @@ -518,7 +518,7 @@ IN_PROC_BROWSER_TEST_F(AppControllerMainMenuBrowserTest,
|
| // Use the existing profile as profile 1.
|
| Profile* profile1 = browser()->profile();
|
| bookmarks::test::WaitForBookmarkModelToLoad(
|
| - BookmarkModelFactory::GetForProfile(profile1));
|
| + BookmarkModelFactory::GetForBrowserContext(profile1));
|
|
|
| // Create profile 2.
|
| base::FilePath path2 = profile_manager->GenerateNextProfileDirectoryPath();
|
| @@ -526,7 +526,7 @@ IN_PROC_BROWSER_TEST_F(AppControllerMainMenuBrowserTest,
|
| Profile::CreateProfile(path2, NULL, Profile::CREATE_MODE_SYNCHRONOUS);
|
| profile_manager->RegisterTestingProfile(profile2, false, true);
|
| bookmarks::test::WaitForBookmarkModelToLoad(
|
| - BookmarkModelFactory::GetForProfile(profile2));
|
| + BookmarkModelFactory::GetForBrowserContext(profile2));
|
|
|
| // Switch to profile 1, create bookmark 1 and force the menu to build.
|
| [ac windowChangedToProfile:profile1];
|
|
|