Index: chrome/browser/history/android/android_provider_backend_unittest.cc |
diff --git a/chrome/browser/history/android/android_provider_backend_unittest.cc b/chrome/browser/history/android/android_provider_backend_unittest.cc |
index e572ad0fb9dc1ff4a88132cfada2aa42acb37e7c..db7df734417d60dd072892e4fa8cab218b9b037e 100644 |
--- a/chrome/browser/history/android/android_provider_backend_unittest.cc |
+++ b/chrome/browser/history/android/android_provider_backend_unittest.cc |
@@ -185,7 +185,8 @@ class AndroidProviderBackendTest : public testing::Test { |
TestingProfile* testing_profile = profile_manager_.CreateTestingProfile( |
chrome::kInitialProfile); |
testing_profile->CreateBookmarkModel(true); |
- bookmark_model_ = BookmarkModelFactory::GetForProfile(testing_profile); |
+ bookmark_model_ = |
+ BookmarkModelFactory::GetForBrowserContext(testing_profile); |
history_client_.reset(new ChromeHistoryClient(bookmark_model_)); |
history_backend_client_ = history_client_->CreateBackendClient(); |
bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model_); |