Index: net/spdy/spdy_session_unittest.cc |
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc |
index 86e503cab7ff282a88134f7da5bd3eee6565cafc..ec4cb3c43c0f690c9246e7542a6284007c28249e 100644 |
--- a/net/spdy/spdy_session_unittest.cc |
+++ b/net/spdy/spdy_session_unittest.cc |
@@ -2402,7 +2402,7 @@ TEST_P(SpdySessionTest, VerifyDomainAuthentication) { |
base::FilePath certs_dir = GetTestCertsDirectory(); |
scoped_refptr<X509Certificate> test_cert( |
ImportCertFromFile(certs_dir, "spdy_pooling.pem")); |
- ASSERT_NE(static_cast<X509Certificate*>(NULL), test_cert); |
+ ASSERT_NE(static_cast<X509Certificate*>(NULL), test_cert.get()); |
SSLSocketDataProvider ssl(SYNCHRONOUS, OK); |
ssl.cert = test_cert; |
@@ -2444,7 +2444,7 @@ TEST_P(SpdySessionTest, ConnectionPooledWithTlsChannelId) { |
base::FilePath certs_dir = GetTestCertsDirectory(); |
scoped_refptr<X509Certificate> test_cert( |
ImportCertFromFile(certs_dir, "spdy_pooling.pem")); |
- ASSERT_NE(static_cast<X509Certificate*>(NULL), test_cert); |
+ ASSERT_NE(static_cast<X509Certificate*>(NULL), test_cert.get()); |
SSLSocketDataProvider ssl(SYNCHRONOUS, OK); |
ssl.channel_id_sent = true; |