From c2e01e8fa07a71047e376b686c8c66842be604e7 Mon Sep 17 00:00:00 2001 From: dcheng Date: Tue, 26 Aug 2014 17:24:42 -0700 Subject: Remove implicit conversions from scoped_refptr to T* in net/url_request/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/495093005 Cr-Commit-Position: refs/heads/master@{#292051} --- net/url_request/url_request_http_job.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/url_request/url_request_http_job.cc') diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc index a870a2c..d6b35dc 100644 --- a/net/url_request/url_request_http_job.cc +++ b/net/url_request/url_request_http_job.cc @@ -446,9 +446,9 @@ void URLRequestHttpJob::StartTransactionInternal() { base::Bind(&URLRequestHttpJob::NotifyBeforeSendProxyHeadersCallback, base::Unretained(this))); - if (!throttling_entry_ || - !throttling_entry_->ShouldRejectRequest( - *request_, network_delegate())) { + if (!throttling_entry_.get() || + !throttling_entry_->ShouldRejectRequest(*request_, + network_delegate())) { rv = transaction_->Start( &request_info_, start_callback_, request_->net_log()); start_time_ = base::TimeTicks::Now(); @@ -1306,7 +1306,7 @@ void URLRequestHttpJob::DoneReadingRedirectResponse() { } else { // Otherwise, |override_response_headers_| must be non-NULL and contain // bogus headers indicating a redirect. - DCHECK(override_response_headers_); + DCHECK(override_response_headers_.get()); DCHECK(override_response_headers_->IsRedirect(NULL)); transaction_->StopCaching(); } -- cgit v1.1