Index: net/http/http_proxy_client_socket_pool.cc |
diff --git a/net/http/http_proxy_client_socket_pool.cc b/net/http/http_proxy_client_socket_pool.cc |
index ff5fdf9f843f9611ed29807837c9a720543a5394..9b9c382a9c007fc57a05e01819bfb8d7c5da40b8 100644 |
--- a/net/http/http_proxy_client_socket_pool.cc |
+++ b/net/http/http_proxy_client_socket_pool.cc |
@@ -259,8 +259,8 @@ int HttpProxyConnectJob::DoSSLConnectComplete(int result) { |
SSLClientSocket* ssl = |
static_cast<SSLClientSocket*>(transport_socket_handle_->socket()); |
- using_spdy_ = ssl->was_spdy_negotiated(); |
protocol_negotiated_ = ssl->GetNegotiatedProtocol(); |
+ using_spdy_ = NextProtoIsSPDY(protocol_negotiated_); |
// Reset the timer to just the length of time allowed for HttpProxy handshake |
// so that a fast SSL connection plus a slow HttpProxy failure doesn't take |