Index: ipc/ipc_channel_proxy.cc |
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc |
index 0668b151a858731d05c73146c107cfb8079ce8c3..0b2338c7eabec13b51ae51dcfca49ab0197b2d4e 100644 |
--- a/ipc/ipc_channel_proxy.cc |
+++ b/ipc/ipc_channel_proxy.cc |
@@ -173,6 +173,10 @@ void ChannelProxy::Context::OnChannelClosed() { |
Release(); |
} |
+void ChannelProxy::Context::Clear() { |
+ listener_ = NULL; |
+} |
+ |
// Called on the IPC::Channel thread |
void ChannelProxy::Context::OnSendMessage(scoped_ptr<Message> message) { |
if (!channel_.get()) { |