Index: chrome/browser/bookmarks/bookmark_index_unittest.cc |
diff --git a/chrome/browser/bookmarks/bookmark_index_unittest.cc b/chrome/browser/bookmarks/bookmark_index_unittest.cc |
index c9cfaa643930063e558243000416656129a37a82..48724604bf1f73ec2f588cef35e9254ef4291d88 100644 |
--- a/chrome/browser/bookmarks/bookmark_index_unittest.cc |
+++ b/chrome/browser/bookmarks/bookmark_index_unittest.cc |
@@ -245,7 +245,8 @@ TEST_F(BookmarkIndexTest, GetResultsSortedByTypedCount) { |
BookmarkModel* model = BookmarkModelFactory::GetForProfile(&profile); |
HistoryService* const history_service = |
- HistoryServiceFactory::GetForProfile(&profile, Profile::EXPLICIT_ACCESS); |
+ HistoryServiceFactory::GetForProfile( |
+ &profile, Profile::EXPLICIT_ACCESS).get(); |
history::URLDatabase* url_db = history_service->InMemoryDatabase(); |