Index: mojo/services/network/web_socket_impl.cc |
diff --git a/mojo/services/network/web_socket_impl.cc b/mojo/services/network/web_socket_impl.cc |
index 0513be62d40e83ce265b6de2f8611f4d58705c8a..7b1a37ecd61bb1607a31600dff76dc372dd60c0a 100644 |
--- a/mojo/services/network/web_socket_impl.cc |
+++ b/mojo/services/network/web_socket_impl.cc |
@@ -177,7 +177,9 @@ void WebSocketEventHandler::DidWriteToReceiveStream( |
} // namespace mojo |
-WebSocketImpl::WebSocketImpl(NetworkContext* context) : context_(context) { |
+WebSocketImpl::WebSocketImpl(InterfaceRequest<WebSocket> request, |
+ NetworkContext* context) |
+ : binding_(this, request.Pass()), context_(context) { |
} |
WebSocketImpl::~WebSocketImpl() { |