| Index: content/browser/renderer_host/p2p_sockets_host.cc
|
| diff --git a/content/browser/renderer_host/p2p_sockets_host.cc b/content/browser/renderer_host/p2p_sockets_host.cc
|
| index 310bd1dcfa9b19c39ea5722f8469f4ef67f5368e..aa2ef0af4865deac86ba3a1da1c13922ad657e06 100644
|
| --- a/content/browser/renderer_host/p2p_sockets_host.cc
|
| +++ b/content/browser/renderer_host/p2p_sockets_host.cc
|
| @@ -17,7 +17,8 @@ void P2PSocketsHost::OnChannelClosing() {
|
| BrowserMessageFilter::OnChannelClosing();
|
|
|
| // Since the IPC channel is gone, close pending connections.
|
| - for (IDMap<P2PSocketHost>::iterator i(&sockets_); !i.IsAtEnd(); i.Advance()) {
|
| + for (IDMap<P2PSocketHost, IDMapOwnPointer>::iterator i(&sockets_);
|
| + !i.IsAtEnd(); i.Advance()) {
|
| sockets_.Remove(i.GetCurrentKey());
|
| }
|
| }
|
|
|