Index: net/http/http_cache.cc |
=================================================================== |
--- net/http/http_cache.cc (revision 16140) |
+++ net/http/http_cache.cc (working copy) |
@@ -938,7 +938,11 @@ |
} |
} |
} else if (IsCertificateError(result)) { |
- response_.ssl_info = network_trans_->GetResponseInfo()->ssl_info; |
+ const HttpResponseInfo* response = network_trans_->GetResponseInfo(); |
+ // If we get a certificate error, then there is a certificate in ssl_info, |
+ // so GetResponseInfo() should never returns NULL here. |
+ DCHECK(response); |
ukai
2009/05/15 03:25:24
Changed DCHECK here.
|
+ response_.ssl_info = response->ssl_info; |
} |
HandleResult(result); |
} |