Index: net/server/web_socket.h |
diff --git a/net/server/web_socket.h b/net/server/web_socket.h |
index 5a13fdc54bb6d0c54d6a0387cdcaadfeb5f69d2a..d9509d88dbbf94a8bc44c0429b58cb144496966b 100644 |
--- a/net/server/web_socket.h |
+++ b/net/server/web_socket.h |
@@ -27,9 +27,10 @@ class WebSocket final { |
FRAME_ERROR |
}; |
- static WebSocket* CreateWebSocket(HttpServer* server, |
- HttpConnection* connection, |
- const HttpServerRequestInfo& request); |
+ static scoped_ptr<WebSocket> CreateWebSocket( |
+ HttpServer* server, |
+ HttpConnection* connection, |
+ const HttpServerRequestInfo& request); |
void Accept(const HttpServerRequestInfo& request); |
ParseResult Read(std::string* message); |