Remove implicit conversions from scoped_refptr to T* in content/browser/loader/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.
BUG=110610
Review URL: https://codereview.chromium.org/498553004
Cr-Commit-Position: refs/heads/master@{#291968}
diff --git a/content/browser/loader/resource_loader.cc b/content/browser/loader/resource_loader.cc
index a0713eb..35d37f4 100644
--- a/content/browser/loader/resource_loader.cc
+++ b/content/browser/loader/resource_loader.cc
@@ -518,7 +518,7 @@
for (net::SignedCertificateTimestampAndStatusList::const_iterator iter =
sct_list.begin(); iter != sct_list.end(); ++iter) {
- const int sct_id(sct_store->Store(iter->sct, process_id));
+ const int sct_id(sct_store->Store(iter->sct.get(), process_id));
sct_ids->push_back(
SignedCertificateTimestampIDAndStatus(sct_id, iter->status));
}
@@ -614,7 +614,7 @@
return;
}
- DCHECK(buf);
+ DCHECK(buf.get());
DCHECK(buf_size > 0);
request_->Read(buf.get(), buf_size, bytes_read);