| Index: ipc/ipc_channel_proxy.cc
|
| diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
|
| index ab2672c44fcfb76a0b8fc3fa4b1cf7b473e99302..848e1856294f3d28384681f9c745a05add97e851 100644
|
| --- a/ipc/ipc_channel_proxy.cc
|
| +++ b/ipc/ipc_channel_proxy.cc
|
| @@ -263,24 +263,13 @@ void ChannelProxy::Context::AddFilter(MessageFilter* filter) {
|
|
|
| // Called on the listener's thread
|
| void ChannelProxy::Context::OnDispatchMessage(const Message& message) {
|
| -#if defined(IPC_MESSAGE_LOG_ENABLED)
|
| - Logging* logger = Logging::GetInstance();
|
| - std::string name;
|
| - logger->GetMessageText(message.type(), &name, &message, NULL);
|
| - TRACE_EVENT1("ipc", "ChannelProxy::Context::OnDispatchMessage",
|
| - "name", name);
|
| -#else
|
| - TRACE_EVENT2("ipc", "ChannelProxy::Context::OnDispatchMessage",
|
| - "class", IPC_MESSAGE_ID_CLASS(message.type()),
|
| - "line", IPC_MESSAGE_ID_LINE(message.type()));
|
| -#endif
|
| -
|
| if (!listener_)
|
| return;
|
|
|
| OnDispatchConnected();
|
|
|
| #ifdef IPC_MESSAGE_LOG_ENABLED
|
| + Logging* logger = Logging::GetInstance();
|
| if (message.type() == IPC_LOGGING_ID) {
|
| logger->OnReceivedLoggingMessage(message);
|
| return;
|
|
|