Commit 56a23068 authored by dcheng's avatar dcheng Committed by Commit bot

HistoryService fixups for scoped_refptr operator T* removal.

BUG=110610

Review URL: https://codereview.chromium.org/514233002

Cr-Commit-Position: refs/heads/master@{#292452}
parent bd95637d
......@@ -684,9 +684,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);
}
......@@ -695,7 +696,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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment