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 902664e909762ebd96dff94cb909cf0802ffd916..e6e66ed51b4f80fbf39f151463f3382f3d3b86af 100644 |
--- a/content/browser/renderer_host/websocket_dispatcher_host.cc |
+++ b/content/browser/renderer_host/websocket_dispatcher_host.cc |
@@ -110,7 +110,9 @@ void WebSocketDispatcherHost::SendClosing(int routing_id) { |
void WebSocketDispatcherHost::DoDropChannel(int routing_id, |
uint16 code, |
const std::string& reason) { |
- SendOrDrop(new WebSocketMsg_DropChannel(routing_id, code, reason)); |
+ // TODO(yhirano): Set |was_clean| appropriately. |
+ bool was_clean = true; |
+ SendOrDrop(new WebSocketMsg_DropChannel(routing_id, was_clean, code, reason)); |
DeleteWebSocketHost(routing_id); |
} |