Commit 684f44bd authored by pcc's avatar pcc Committed by Commit bot

Cast tunnel_socket to ProxyClientSocket instead of HttpProxyClientSocket.

BUG=453126
R=rch@chromium.org

Review URL: https://codereview.chromium.org/885233002

Cr-Commit-Position: refs/heads/master@{#313954}
parent cbe22765
......@@ -371,8 +371,7 @@ int SSLConnectJob::DoTunnelConnectComplete(int result) {
} else if (result == ERR_PROXY_AUTH_REQUESTED ||
result == ERR_HTTPS_PROXY_TUNNEL_RESPONSE) {
StreamSocket* socket = transport_socket_handle_->socket();
HttpProxyClientSocket* tunnel_socket =
static_cast<HttpProxyClientSocket*>(socket);
ProxyClientSocket* tunnel_socket = static_cast<ProxyClientSocket*>(socket);
error_response_info_ = *tunnel_socket->GetConnectResponseInfo();
}
if (result < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment