Index: net/websockets/websocket_channel.cc |
diff --git a/net/websockets/websocket_channel.cc b/net/websockets/websocket_channel.cc |
index 3018088db35c96da9acc6c15d1e41d990915251f..e2589f5a25454dbbae34a8de259384c419ee7911 100644 |
--- a/net/websockets/websocket_channel.cc |
+++ b/net/websockets/websocket_channel.cc |
@@ -1129,12 +1129,12 @@ bool WebSocketChannel::ParseClose(const scoped_refptr<IOBuffer>& buffer, |
ChannelState WebSocketChannel::DoDropChannel(bool was_clean, |
uint16_t code, |
const std::string& reason) { |
+ close_timer_.Stop(); |
if (CHANNEL_DELETED == |
notification_sender_->SendImmediately(event_interface_.get())) |
return CHANNEL_DELETED; |
ChannelState result = |
event_interface_->OnDropChannel(was_clean, code, reason); |
- DCHECK_EQ(CHANNEL_DELETED, result); |
return result; |
} |