Commit f76f8e9b authored by dcheng's avatar dcheng Committed by Commit bot

Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/platform_keys

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

BUG=110610

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

Cr-Commit-Position: refs/heads/master@{#294903}
parent 9f825516
...@@ -476,7 +476,7 @@ void ImportCertificateWithDB(scoped_ptr<ImportCertificateState> state, ...@@ -476,7 +476,7 @@ void ImportCertificateWithDB(scoped_ptr<ImportCertificateState> state,
net::CertDatabase* db = net::CertDatabase::GetInstance(); net::CertDatabase* db = net::CertDatabase::GetInstance();
const net::Error cert_status = const net::Error cert_status =
static_cast<net::Error>(db->CheckUserCert(state->certificate_)); static_cast<net::Error>(db->CheckUserCert(state->certificate_.get()));
if (cert_status == net::ERR_NO_PRIVATE_KEY_FOR_CERT) { if (cert_status == net::ERR_NO_PRIVATE_KEY_FOR_CERT) {
state->OnError(FROM_HERE, kErrorKeyNotFound); state->OnError(FROM_HERE, kErrorKeyNotFound);
return; return;
......
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