Index: content/renderer/media/peer_connection_tracker.cc |
diff --git a/content/renderer/media/peer_connection_tracker.cc b/content/renderer/media/peer_connection_tracker.cc |
index 5476f115bcb7b2093fe5801dafb61cc36da4333f..5aac78c3fd50bceb41dfbdc590b656b7862295d2 100644 |
--- a/content/renderer/media/peer_connection_tracker.cc |
+++ b/content/renderer/media/peer_connection_tracker.cc |
@@ -278,7 +278,6 @@ bool PeerConnectionTracker::OnControlMessageReceived( |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(PeerConnectionTracker, message) |
IPC_MESSAGE_HANDLER(PeerConnectionTracker_GetAllStats, OnGetAllStats) |
- IPC_MESSAGE_HANDLER(PeerConnectionTracker_OnSuspend, OnSuspend) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -298,13 +297,6 @@ void PeerConnectionTracker::OnGetAllStats() { |
} |
} |
-void PeerConnectionTracker::OnSuspend() { |
- for (PeerConnectionIdMap::iterator it = peer_connection_id_map_.begin(); |
- it != peer_connection_id_map_.end(); ++it) { |
- it->first->stop(); |
- } |
-} |
- |
void PeerConnectionTracker::RegisterPeerConnection( |
RTCPeerConnectionHandler* pc_handler, |
const webrtc::PeerConnectionInterface::RTCConfiguration& config, |