From ec37477bf8a9f8f2591670f04c9e21c697d7e4e4 Mon Sep 17 00:00:00 2001 From: Szabolcs David Date: Wed, 27 Sep 2017 11:54:40 +0200 Subject: Adapt IPC logging to the newer version of Chromium Now this feature is laying behind a generated buildflag. Change-Id: I48786315c45df6d2e8a81231ce8941639de16bb1 Reviewed-by: Allan Sandfeld Jensen --- src/core/common/qt_ipc_logging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/common/qt_ipc_logging.cpp b/src/core/common/qt_ipc_logging.cpp index 124124de1..f2a00b23c 100644 --- a/src/core/common/qt_ipc_logging.cpp +++ b/src/core/common/qt_ipc_logging.cpp @@ -37,9 +37,9 @@ ** ****************************************************************************/ -#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED +#include "ipc/ipc_features.h" // Generated buildflag header -#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) \ -- cgit v1.2.3