Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1717)

Unified Diff: content/browser/renderer_host/p2p/socket_dispatcher_host.cc

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation errors Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/p2p/socket_dispatcher_host.cc
diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
index 002e5130f5acf1a446294c32e05fabf67e5eddec..45c40cd49c651833751593cddaa22d67584f4ba3 100644
--- a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
+++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
@@ -104,8 +104,8 @@ P2PSocketDispatcherHost::P2PSocketDispatcherHost(
dump_outgoing_rtp_packet_(false) {
}
-void P2PSocketDispatcherHost::OnChannelClosing() {
- // Since the IPC channel is gone, close pending connections.
+void P2PSocketDispatcherHost::OnSenderClosing() {
+ // Since the IPC sender is gone, close pending connections.
STLDeleteContainerPairSecondPointers(sockets_.begin(), sockets_.end());
sockets_.clear();

Powered by Google App Engine
This is Rietveld 408576698