Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3592)

Unified Diff: chrome/browser/bookmarks/bookmark_index_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/bookmarks/bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698