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

Unified Diff: net/test/cert_test_util_nss.cc

Issue 509563003: Remove implicit conversions from scoped_refptr to T* in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « net/ssl/ssl_client_auth_cache_unittest.cc ('k') | net/tools/crl_set_dump/crl_set_dump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/cert_test_util_nss.cc
diff --git a/net/test/cert_test_util_nss.cc b/net/test/cert_test_util_nss.cc
index a3e06c70654baf5ed1d2a06297cdc8ccc1400711..29be6ae4c5ca3bdb3c7718fa6c7f906564526bb4 100644
--- a/net/test/cert_test_util_nss.cc
+++ b/net/test/cert_test_util_nss.cc
@@ -71,7 +71,7 @@ scoped_refptr<X509Certificate> ImportClientCertAndKeyFromFile(
scoped_refptr<X509Certificate> cert(ImportCertFromFile(dir, cert_filename));
- if (!cert) {
+ if (!cert.get()) {
LOG(ERROR) << "Failed to parse cert from file " << cert_filename;
return NULL;
}
« no previous file with comments | « net/ssl/ssl_client_auth_cache_unittest.cc ('k') | net/tools/crl_set_dump/crl_set_dump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698