Index: net/websockets/websocket_basic_handshake_stream.cc |
diff --git a/net/websockets/websocket_basic_handshake_stream.cc b/net/websockets/websocket_basic_handshake_stream.cc |
index 769b80207341615dce9646a478770850dc2bed7a..08ee6ae674ca6f78e3546f4a6560569a8a0da260 100644 |
--- a/net/websockets/websocket_basic_handshake_stream.cc |
+++ b/net/websockets/websocket_basic_handshake_stream.cc |
@@ -39,8 +39,8 @@ |
#include "net/websockets/websocket_deflate_stream.h" |
#include "net/websockets/websocket_deflater.h" |
#include "net/websockets/websocket_extension_parser.h" |
+#include "net/websockets/websocket_handshake_challenge.h" |
#include "net/websockets/websocket_handshake_constants.h" |
-#include "net/websockets/websocket_handshake_handler.h" |
#include "net/websockets/websocket_handshake_request_info.h" |
#include "net/websockets/websocket_handshake_response_info.h" |
#include "net/websockets/websocket_stream.h" |
@@ -435,8 +435,8 @@ int WebSocketBasicHandshakeStream::SendRequest( |
requested_sub_protocols_, |
&enriched_headers); |
- ComputeSecWebSocketAccept(handshake_challenge, |
- &handshake_challenge_response_); |
+ handshake_challenge_response_ = |
+ ComputeSecWebSocketAccept(handshake_challenge); |
DCHECK(connect_delegate_); |
scoped_ptr<WebSocketHandshakeRequestInfo> request( |