Index: content/browser/renderer_host/websocket_dispatcher_host.cc |
diff --git a/content/browser/renderer_host/websocket_dispatcher_host.cc b/content/browser/renderer_host/websocket_dispatcher_host.cc |
index 2a7ed76da1ac6601977d80f82154696e104535e2..975635404381658abade2e817acec9aee8d76c47 100644 |
--- a/content/browser/renderer_host/websocket_dispatcher_host.cc |
+++ b/content/browser/renderer_host/websocket_dispatcher_host.cc |
@@ -25,7 +25,8 @@ typedef WebSocketDispatcherHost::WebSocketHostState WebSocketHostState; |
WebSocketDispatcherHost::WebSocketDispatcherHost( |
const GetRequestContextCallback& get_context_callback) |
- : get_context_callback_(get_context_callback), |
+ : BrowserMessageFilter(WebSocketMsgStart), |
+ get_context_callback_(get_context_callback), |
websocket_host_factory_( |
base::Bind(&WebSocketDispatcherHost::CreateWebSocketHost, |
base::Unretained(this))) {} |
@@ -33,7 +34,8 @@ WebSocketDispatcherHost::WebSocketDispatcherHost( |
WebSocketDispatcherHost::WebSocketDispatcherHost( |
const GetRequestContextCallback& get_context_callback, |
const WebSocketHostFactory& websocket_host_factory) |
- : get_context_callback_(get_context_callback), |
+ : BrowserMessageFilter(WebSocketMsgStart), |
+ get_context_callback_(get_context_callback), |
websocket_host_factory_(websocket_host_factory) {} |
WebSocketHost* WebSocketDispatcherHost::CreateWebSocketHost(int routing_id) { |