Commit 14b72ec3 authored by dcheng's avatar dcheng Committed by Commit bot

Remove implicit conversions from scoped_refptr to T* in cloud_print/

This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.

BUG=110610

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

Cr-Commit-Position: refs/heads/master@{#292076}
parent 68d8540b
......@@ -64,7 +64,7 @@ void CloudPrintRequest::Run(
fetcher_->AddExtraRequestHeader(base::StringPrintf(
"Authorization: Bearer \"%s\"", access_token.c_str()));
fetcher_->SetRequestContext(context_getter);
fetcher_->SetRequestContext(context_getter.get());
fetcher_->Start();
MessageLoop::current()->PostDelayedTask(
......
......@@ -10,7 +10,7 @@
CloudPrintURLRequestContextGetter::CloudPrintURLRequestContextGetter(
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
DCHECK(task_runner);
DCHECK(task_runner.get());
network_task_runner_ = task_runner;
}
......
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