| Index: chrome/common/logging_chrome.cc
|
| diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
|
| index 6a5d7f88ee0674418f30f65cbb50e248045e7bbb..4e2df8c8efdf47d8b3ab16953696495eaf4d7c70 100644
|
| --- a/chrome/common/logging_chrome.cc
|
| +++ b/chrome/common/logging_chrome.cc
|
| @@ -8,13 +8,13 @@
|
| // IPC_MESSAGE_LOG_ENABLED. We need to use it to define
|
| // IPC_MESSAGE_MACROS_LOG_ENABLED so render_messages.h will generate the
|
| // ViewMsgLog et al. functions.
|
| -#include "ipc/ipc_message.h"
|
| +#include "ipc/ipc_features.h"
|
|
|
| // On Windows, the about:ipc dialog shows IPCs; on POSIX, we hook up a
|
| // logger in this file. (We implement about:ipc on Mac but implement
|
| // the loggers here anyway). We need to do this real early to be sure
|
| // IPC_MESSAGE_MACROS_LOG_ENABLED doesn't get undefined.
|
| -#if defined(OS_POSIX) && defined(IPC_MESSAGE_LOG_ENABLED)
|
| +#if defined(OS_POSIX) && BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
|
| #define IPC_MESSAGE_MACROS_LOG_ENABLED
|
| #include "content/public/common/content_ipc_logging.h"
|
| #define IPC_LOG_TABLE_ADD_ENTRY(msg_id, logger) \
|
| @@ -33,6 +33,7 @@
|
| #include <string> // NOLINT
|
|
|
| #include "base/base_switches.h"
|
| +#include "base/bind.h"
|
| #include "base/command_line.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/debug/debugger.h"
|
|
|