| Index: chrome/common/child_process_host.cc
|
| diff --git a/chrome/common/child_process_host.cc b/chrome/common/child_process_host.cc
|
| index b001effb1211dd5aa04b87acb75ad0d9183dc24a..dad6415bbfd300855f50f36013e2fd45656b406b 100644
|
| --- a/chrome/common/child_process_host.cc
|
| +++ b/chrome/common/child_process_host.cc
|
| @@ -111,7 +111,7 @@ bool ChildProcessHost::CreateChannel() {
|
|
|
| // Make sure these messages get sent first.
|
| #if defined(IPC_MESSAGE_LOG_ENABLED)
|
| - bool enabled = IPC::Logging::current()->Enabled();
|
| + bool enabled = IPC::Logging::GetInstance()->Enabled();
|
| SendOnChannel(new PluginProcessMsg_SetIPCLoggingEnabled(enabled));
|
| #endif
|
|
|
| @@ -149,7 +149,7 @@ ChildProcessHost::ListenerHook::ListenerHook(ChildProcessHost* host)
|
| void ChildProcessHost::ListenerHook::OnMessageReceived(
|
| const IPC::Message& msg) {
|
| #ifdef IPC_MESSAGE_LOG_ENABLED
|
| - IPC::Logging* logger = IPC::Logging::current();
|
| + IPC::Logging* logger = IPC::Logging::GetInstance();
|
| if (msg.type() == IPC_LOGGING_ID) {
|
| logger->OnReceivedLoggingMessage(msg);
|
| return;
|
|
|