Index: content/child/child_thread_impl.h |
diff --git a/content/child/child_thread_impl.h b/content/child/child_thread_impl.h |
index 9a4014549bc88ff05171cc8938bf68701d431c42..36790b31c8217364ec50a24ef72af3358d40b8e9 100644 |
--- a/content/child/child_thread_impl.h |
+++ b/content/child/child_thread_impl.h |
@@ -22,7 +22,7 @@ |
#include "content/common/content_export.h" |
#include "content/public/child/child_thread.h" |
#include "ipc/ipc.mojom.h" |
-#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
+#include "ipc/ipc_features.h" // For BUILDFLAG(IPC_MESSAGE_LOG_ENABLED). |
#include "ipc/ipc_platform_file.h" |
#include "ipc/message_router.h" |
#include "mojo/public/cpp/bindings/associated_binding.h" |
@@ -217,7 +217,7 @@ class CONTENT_EXPORT ChildThreadImpl |
void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); |
void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); |
void OnProfilingPhaseCompleted(int profiling_phase); |
-#ifdef IPC_MESSAGE_LOG_ENABLED |
+#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED) |
void OnSetIPCLoggingEnabled(bool enable); |
#endif |