diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 20:03:24 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 20:03:24 +0000 |
commit | 6541227a9c1aa7a492dd1b671ef9bca26236b8e7 (patch) | |
tree | 8fe17eb6198b90237e117a809b3c9f55318973a2 /ipc/ipc_message_macros.h | |
parent | 523d40835e4524c5e2ee2d4b8cfe1d7ca765f686 (diff) | |
download | chromium_src-6541227a9c1aa7a492dd1b671ef9bca26236b8e7.zip chromium_src-6541227a9c1aa7a492dd1b671ef9bca26236b8e7.tar.gz chromium_src-6541227a9c1aa7a492dd1b671ef9bca26236b8e7.tar.bz2 |
Create a message filter for message port and worker messages. This allows a nice cleanup of getting rid of the notifications when RenderMessageFilter and WorkerProcessHost go away. SafeBrowsingResourceHandler doesn't need it anymore as well, since it now overrides OnRequestClosed() which does the same thing.
Review URL: http://codereview.chromium.org/6055002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_macros.h')
-rw-r--r-- | ipc/ipc_message_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_message_macros.h b/ipc/ipc_message_macros.h index 7247c66..34fd4f4 100644 --- a/ipc/ipc_message_macros.h +++ b/ipc/ipc_message_macros.h @@ -1051,7 +1051,7 @@ void class_name::OnMessageReceived(const IPC::Message& msg) \ #define IPC_MESSAGE_FORWARD(msg_class, obj, member_func) \ case msg_class::ID: \ - msg_is_ok__ = msg_class::Dispatch(&ipc_message__, obj, &member_func); \ + msg_is_ok__ = msg_class::Dispatch(&ipc_message__, obj, this, &member_func); \ break; #define IPC_MESSAGE_HANDLER(msg_class, member_func) \ |