Index: chrome/browser/sync/chrome_sync_client.cc |
diff --git a/chrome/browser/sync/chrome_sync_client.cc b/chrome/browser/sync/chrome_sync_client.cc |
index 5396628e76467401f022a72cc4212de40f86a750..a18215d336ee51fcf2dbe6884039830924d267f7 100644 |
--- a/chrome/browser/sync/chrome_sync_client.cc |
+++ b/chrome/browser/sync/chrome_sync_client.cc |
@@ -137,7 +137,7 @@ class SyncSessionsClientImpl : public sync_sessions::SyncSessionsClient { |
// SyncSessionsClient implementation. |
bookmarks::BookmarkModel* GetBookmarkModel() override { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
- return BookmarkModelFactory::GetForProfile(profile_); |
+ return BookmarkModelFactory::GetForBrowserContext(profile_); |
} |
favicon::FaviconService* GetFaviconService() override { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
@@ -230,7 +230,7 @@ PrefService* ChromeSyncClient::GetPrefService() { |
bookmarks::BookmarkModel* ChromeSyncClient::GetBookmarkModel() { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- return BookmarkModelFactory::GetForProfile(profile_); |
+ return BookmarkModelFactory::GetForBrowserContext(profile_); |
} |
favicon::FaviconService* ChromeSyncClient::GetFaviconService() { |