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); |
} |