Index: webrtc/p2p/base/faketransportcontroller.h |
diff --git a/webrtc/p2p/base/faketransportcontroller.h b/webrtc/p2p/base/faketransportcontroller.h |
index 321537dd59be79b5e3efa2d9349f1c82c7c544a2..7f0d9693ec021dc05de9b84a8cff18c9086bb616 100644 |
--- a/webrtc/p2p/base/faketransportcontroller.h |
+++ b/webrtc/p2p/base/faketransportcontroller.h |
@@ -170,8 +170,10 @@ class FakeTransportChannel : public TransportChannelImpl, |
connection_count_ = connection_count; |
if (connection_count) |
had_connection_ = true; |
+ // In this fake transport channel, |connection_count_| determines the |
+ // transport channel state. |
if (connection_count_ < old_connection_count) |
- SignalConnectionRemoved(this); |
+ SignalStateChanged(this); |
} |
void SetCandidatesGatheringComplete() { |