Index: chrome/browser/profiles/profile_manager_unittest.cc |
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc |
index b3423f451037adc1385a2095573e3f09bba07087..29375a7ec8a982fe9fa7da6014f4c92c19aa3a93 100644 |
--- a/chrome/browser/profiles/profile_manager_unittest.cc |
+++ b/chrome/browser/profiles/profile_manager_unittest.cc |
@@ -300,9 +300,9 @@ TEST_F(ProfileManagerTest, CreateAndUseTwoProfiles) { |
EXPECT_TRUE(HistoryServiceFactory::GetForProfile( |
profile1, ServiceAccessType::EXPLICIT_ACCESS)); |
profile1->CreateBookmarkModel(true); |
- EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile1)); |
+ EXPECT_TRUE(BookmarkModelFactory::GetForBrowserContext(profile1)); |
profile2->CreateBookmarkModel(true); |
- EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile2)); |
+ EXPECT_TRUE(BookmarkModelFactory::GetForBrowserContext(profile2)); |
ASSERT_TRUE(profile2->CreateHistoryService(true, false)); |
EXPECT_TRUE(HistoryServiceFactory::GetForProfile( |
profile2, ServiceAccessType::EXPLICIT_ACCESS)); |