| Index: net/quic/quic_connection.cc
|
| diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
|
| index 405ba422554177fa3b40c96917ac9546df1cc726..bed246cb729fd4b843804b595064d0648942c917 100644
|
| --- a/net/quic/quic_connection.cc
|
| +++ b/net/quic/quic_connection.cc
|
| @@ -1796,6 +1796,9 @@ void QuicConnection::CloseConnection(QuicErrorCode error, bool from_peer) {
|
| return;
|
| }
|
| connected_ = false;
|
| + if (debug_visitor_.get() != NULL) {
|
| + debug_visitor_->OnConnectionClosed(error, from_peer);
|
| + }
|
| visitor_->OnConnectionClosed(error, from_peer);
|
| // Cancel the alarms so they don't trigger any action now that the
|
| // connection is closed.
|
|
|