Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index b3efdc1ec5c0de0bcd61dd20673761833af5db12..f850c4e5beb416f7ade1e247aeb6c252c4939262 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -12,6 +12,7 @@ |
#include "base/lazy_instance.h" |
#include "base/logging.h" |
#include "base/path_service.h" |
+#include "base/trace_event/trace_log.h" |
#include "build/build_config.h" |
#include "cc/base/switches.h" |
#include "content/common/content_constants_internal.h" |
@@ -34,6 +35,7 @@ |
#include "content/shell/renderer/shell_content_renderer_client.h" |
#include "content/shell/utility/shell_content_utility_client.h" |
#include "gpu/config/gpu_switches.h" |
+#include "ipc/ipc_features.h" |
#include "media/base/media_switches.h" |
#include "media/base/mime_util.h" |
#include "net/cookies/cookie_monster.h" |
@@ -45,9 +47,7 @@ |
#include "ui/gl/gl_implementation.h" |
#include "ui/gl/gl_switches.h" |
-#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
- |
-#if defined(IPC_MESSAGE_LOG_ENABLED) |
+#if 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) \ |