Index: ipc/ipc_channel_mojo.cc |
diff --git a/ipc/ipc_channel_mojo.cc b/ipc/ipc_channel_mojo.cc |
index 0f12dd8cf0dfa0bf7de668cbc975e50cef79b9ba..1c21b749023414786911f28649497fa80b6ad903 100644 |
--- a/ipc/ipc_channel_mojo.cc |
+++ b/ipc/ipc_channel_mojo.cc |
@@ -399,10 +399,6 @@ void ChannelMojo::OnMessageReceived(const Message& message) { |
TRACE_EVENT2("ipc,toplevel", "ChannelMojo::OnMessageReceived", |
"class", IPC_MESSAGE_ID_CLASS(message.type()), |
"line", IPC_MESSAGE_ID_LINE(message.type())); |
- if (AttachmentBroker* broker = AttachmentBroker::GetGlobal()) { |
- if (broker->OnMessageReceived(message)) |
- return; |
- } |
listener_->OnMessageReceived(message); |
if (message.dispatch_error()) |
listener_->OnBadMessageReceived(message); |