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

Unified Diff: chrome/browser/page_info_model.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/page_info_model.cc
diff --git a/chrome/browser/page_info_model.cc b/chrome/browser/page_info_model.cc
index 34521a3996acdab59bfb8c8106954802ff2a2ac8..de8330f73d16ec5a48105e84af28aa87062d501f 100644
--- a/chrome/browser/page_info_model.cc
+++ b/chrome/browser/page_info_model.cc
@@ -277,7 +277,7 @@ PageInfoModel::PageInfoModel(Profile* profile,
// Request the number of visits.
HistoryService* history = HistoryServiceFactory::GetForProfile(
- profile, Profile::EXPLICIT_ACCESS);
+ profile, Profile::EXPLICIT_ACCESS).get();
if (show_history && history) {
history->GetVisibleVisitCountToHost(
url,

Powered by Google App Engine
This is Rietveld 408576698