summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_proxy.cc
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 20:39:12 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 20:39:12 +0000
commit772a5b29a64d3490ea0cae5ee28b02d503b74a8d (patch)
treee5a478e6e65f0c8bd66d044177c350ef1d6ea850 /ipc/ipc_channel_proxy.cc
parent7e834f061f001db4d8508cfff4294a15aae19b83 (diff)
downloadchromium_src-772a5b29a64d3490ea0cae5ee28b02d503b74a8d.zip
chromium_src-772a5b29a64d3490ea0cae5ee28b02d503b74a8d.tar.gz
chromium_src-772a5b29a64d3490ea0cae5ee28b02d503b74a8d.tar.bz2
Clean-up inline members of nested classes (ipc/)
Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10825275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_proxy.cc')
-rw-r--r--ipc/ipc_channel_proxy.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index 0668b15..0b2338c 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()) {