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

Unified Diff: chrome/browser/history/history_service.cc

Issue 514233002: HistoryService fixups for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index e84d4e04778f9a8e3d5fe77f2ea8ec11c4133f9c..f2a383b3a7e426bb830c9ea8117fcc32c2069d1d 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -741,9 +741,10 @@ void HistoryService::CreateDownload(
DCHECK(thread_) << "History service being called after cleanup";
DCHECK(thread_checker_.CalledOnValidThread());
PostTaskAndReplyWithResult(
- thread_->message_loop_proxy(), FROM_HERE,
- base::Bind(&HistoryBackend::CreateDownload, history_backend_.get(),
- create_info),
+ thread_->message_loop_proxy().get(),
+ FROM_HERE,
+ base::Bind(
+ &HistoryBackend::CreateDownload, history_backend_.get(), create_info),
callback);
}
@@ -752,7 +753,8 @@ void HistoryService::GetNextDownloadId(
DCHECK(thread_) << "History service being called after cleanup";
DCHECK(thread_checker_.CalledOnValidThread());
PostTaskAndReplyWithResult(
- thread_->message_loop_proxy(), FROM_HERE,
+ thread_->message_loop_proxy().get(),
+ FROM_HERE,
base::Bind(&HistoryBackend::GetNextDownloadId, history_backend_.get()),
callback);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698