Index: net/quic/crypto/proof_test.cc |
diff --git a/net/quic/crypto/proof_test.cc b/net/quic/crypto/proof_test.cc |
index 56e9abcfb612d0a566931f0c406f3eb3b4879ada..b73471a04405989e195442687ae5df808a7b0ef7 100644 |
--- a/net/quic/crypto/proof_test.cc |
+++ b/net/quic/crypto/proof_test.cc |
@@ -98,7 +98,7 @@ string LoadTestCert(const string& file_name) { |
base::FilePath certs_dir = GetTestCertsDirectory(); |
scoped_refptr<X509Certificate> cert = |
ImportCertFromFile(certs_dir, "quic_" + file_name); |
- CHECK_NE(static_cast<X509Certificate*>(NULL), cert); |
+ CHECK_NE(static_cast<X509Certificate*>(NULL), cert.get()); |
string der_bytes; |
CHECK(X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_bytes)); |