Index: webrtc/p2p/base/faketransportcontroller.h |
diff --git a/webrtc/p2p/base/faketransportcontroller.h b/webrtc/p2p/base/faketransportcontroller.h |
index d42a93ddae9f95cf1558f9d32f3273f5e9a113c3..4f83585840b50b91a931ec6016401626a90e3eb7 100644 |
--- a/webrtc/p2p/base/faketransportcontroller.h |
+++ b/webrtc/p2p/base/faketransportcontroller.h |
@@ -443,6 +443,10 @@ class FakeTransportController : public TransportController { |
return new FakeCandidatePair(local_candidate, remote_candidate); |
} |
+ void OnDestroyTransport(const std::string& transport_name, int component) { |
+ DestroyTransportChannel(transport_name, component); |
+ } |
+ |
protected: |
// The ICE channel is never actually used by TransportController directly, |
// since (currently) the DTLS channel pretends to be both ICE + DTLS. This |