Index: ipc/ipc_message.h |
diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h |
index 3ca75482b189bb60fa2f163cf933512abfcd57d5..43e9ae39c13d967f7054ac949f7540602df74c8d 100644 |
--- a/ipc/ipc_message.h |
+++ b/ipc/ipc_message.h |
@@ -16,7 +16,10 @@ |
#include "base/trace_event/trace_event.h" |
#include "build/build_config.h" |
#include "ipc/ipc_export.h" |
-#include "ipc/ipc_features.h" |
+ |
+#if !defined(NDEBUG) |
+#define IPC_MESSAGE_LOG_ENABLED |
+#endif |
namespace IPC { |
@@ -204,7 +207,7 @@ |
// Returns true if there are any attachment in this message. |
bool HasAttachments() const override; |
-#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED) |
+#ifdef IPC_MESSAGE_LOG_ENABLED |
// Adds the outgoing time from Time::Now() at the end of the message and sets |
// a bit to indicate that it's been added. |
void set_sent_time(int64_t time); |
@@ -272,7 +275,7 @@ |
return attachment_set_.get(); |
} |
-#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED) |
+#ifdef IPC_MESSAGE_LOG_ENABLED |
// Used for logging. |
mutable int64_t received_time_; |
mutable std::string output_params_; |