Skip to content

Commit

Permalink
Remove implicit conversions from scoped_refptr to T* in cloud_print/
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
zetafunction authored and Commit bot committed Aug 27, 2014
1 parent 68d8540 commit 14b72ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloud_print/gcp20/prototype/cloud_print_request.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

CloudPrintURLRequestContextGetter::CloudPrintURLRequestContextGetter(
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
DCHECK(task_runner);
DCHECK(task_runner.get());
network_task_runner_ = task_runner;
}

Expand Down

0 comments on commit 14b72ec

Please sign in to comment.