Index: net/http/proxy_client_socket.cc |
diff --git a/net/http/proxy_client_socket.cc b/net/http/proxy_client_socket.cc |
index b89247970c176f875a77ab8aab73dedbc994c857..4caab0876823dd8636bf61f6c6df43b1c8101900 100644 |
--- a/net/http/proxy_client_socket.cc |
+++ b/net/http/proxy_client_socket.cc |
@@ -46,7 +46,7 @@ void ProxyClientSocket::BuildTunnelRequest( |
int ProxyClientSocket::HandleProxyAuthChallenge(HttpAuthController* auth, |
HttpResponseInfo* response, |
const BoundNetLog& net_log) { |
- DCHECK(response->headers); |
+ DCHECK(response->headers.get()); |
int rv = auth->HandleAuthChallenge(response->headers, false, true, net_log); |
response->auth_challenge = auth->auth_info(); |
if (rv == OK) |
@@ -74,7 +74,7 @@ void ProxyClientSocket::LogBlockedTunnelResponse(int http_status_code, |
// static |
bool ProxyClientSocket::SanitizeProxyRedirect(HttpResponseInfo* response, |
const GURL& url) { |
- DCHECK(response && response->headers); |
+ DCHECK(response && response->headers.get()); |
std::string location; |
if (!response->headers->IsRedirect(&location)) |