Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1411)

Unified Diff: chrome/browser/chromeos/platform_keys/platform_keys_nss.cc

Issue 573863002: Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/platform_keys (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
index 2265f42b5e3465b69623c406c14796a177ad68e3..5b0151aabddb0d8a67dc5772c12d06f96727b6d2 100644
--- a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
@@ -476,7 +476,7 @@ void ImportCertificateWithDB(scoped_ptr<ImportCertificateState> state,
net::CertDatabase* db = net::CertDatabase::GetInstance();
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) {
state->OnError(FROM_HERE, kErrorKeyNotFound);
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698