Index: net/http/http_response_info.cc |
diff --git a/net/http/http_response_info.cc b/net/http/http_response_info.cc |
index 9c33ab4f53e8b0bef1ef03cb6c82cf16f7b6152a..6a50c43daa4ffa1698ff4a792c9e5f9e6443645e 100644 |
--- a/net/http/http_response_info.cc |
+++ b/net/http/http_response_info.cc |
@@ -166,7 +166,7 @@ bool HttpResponseInfo::InitFromPickle(const Pickle& pickle, |
if (flags & RESPONSE_INFO_HAS_CERT) { |
X509Certificate::PickleType type = GetPickleTypeForVersion(version); |
ssl_info.cert = X509Certificate::CreateFromPickle(pickle, &iter, type); |
- if (!ssl_info.cert) |
+ if (!ssl_info.cert.get()) |
return false; |
} |
if (flags & RESPONSE_INFO_HAS_CERT_STATUS) { |