Index: ipc/ipc_sync_channel.cc |
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc |
index 50ea3dfdf947ae3874d3c93aa12c240312af0848..a6ef27ada67d1c8f9596cb381589feab0ebdb70a 100644 |
--- a/ipc/ipc_sync_channel.cc |
+++ b/ipc/ipc_sync_channel.cc |
@@ -461,9 +461,8 @@ void SyncChannel::SetRestrictDispatchChannelGroup(int group) { |
bool SyncChannel::Send(Message* message) { |
#ifdef IPC_MESSAGE_LOG_ENABLED |
- Logging* logger = Logging::GetInstance(); |
std::string name; |
- logger->GetMessageText(message->type(), &name, message, NULL); |
+ Logging::GetInstance()->GetMessageText(message->type(), &name, message, NULL); |
TRACE_EVENT1("ipc", "SyncChannel::Send", "name", name); |
#else |
TRACE_EVENT2("ipc", "SyncChannel::Send", |