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

Unified Diff: net/base/server_bound_cert_service_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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/base/network_change_notifier_linux_unittest.cc ('k') | net/base/ssl_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/server_bound_cert_service_unittest.cc
diff --git a/net/base/server_bound_cert_service_unittest.cc b/net/base/server_bound_cert_service_unittest.cc
index f09b47c2cdb4648312f0155c2b9baa602f6ecfc4..825b247ce669ae8979a9e6ace9d4a72f3c1f91df 100644
--- a/net/base/server_bound_cert_service_unittest.cc
+++ b/net/base/server_bound_cert_service_unittest.cc
@@ -318,7 +318,7 @@ TEST_F(ServerBoundCertServiceTest, ExtractValuesFromBytesEC) {
// Check that we can retrieve the cert from the bytes.
scoped_refptr<X509Certificate> x509cert(
X509Certificate::CreateFromBytes(der_cert.data(), der_cert.size()));
- EXPECT_TRUE(x509cert != NULL);
+ EXPECT_TRUE(x509cert.get() != NULL);
}
// Tests that the callback of a canceled request is never made.
« no previous file with comments | « net/base/network_change_notifier_linux_unittest.cc ('k') | net/base/ssl_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698