| Index: net/http/http_network_transaction.cc
|
| diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
|
| index f8fc2c0d4014df62b085aebd66a8efc086d0f908..d2b8471dc2bb2f2230127bde5753956cfb7d44c0 100644
|
| --- a/net/http/http_network_transaction.cc
|
| +++ b/net/http/http_network_transaction.cc
|
| @@ -1509,8 +1509,8 @@ GURL HttpNetworkTransaction::AuthURL(HttpAuth::Target target) const {
|
| }
|
|
|
| bool HttpNetworkTransaction::ForWebSocketHandshake() const {
|
| - return (websocket_handshake_stream_base_create_helper_ &&
|
| - (request_->url.SchemeIs("ws") || request_->url.SchemeIs("wss")));
|
| + return websocket_handshake_stream_base_create_helper_ &&
|
| + request_->url.SchemeIsWSOrWSS();
|
| }
|
|
|
| #define STATE_CASE(s) \
|
|
|