Index: chrome/browser/sync/test/integration/sync_test.cc |
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc |
index 931c867878db4bd366475f8194e129c1e8d46161..51753996040e9cad01c465cce9f13edcb914a813 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.cc |
+++ b/chrome/browser/sync/test/integration/sync_test.cc |
@@ -713,7 +713,7 @@ void SyncTest::TearDownInProcessBrowserTestFixture() { |
void SyncTest::WaitForDataModels(Profile* profile) { |
bookmarks::test::WaitForBookmarkModelToLoad( |
- BookmarkModelFactory::GetForProfile(profile)); |
+ BookmarkModelFactory::GetForBrowserContext(profile)); |
ui_test_utils::WaitForHistoryToLoad(HistoryServiceFactory::GetForProfile( |
profile, ServiceAccessType::EXPLICIT_ACCESS)); |
search_test_utils::WaitForTemplateURLServiceToLoad( |