Index: ipc/ipc_message.cc |
diff --git a/ipc/ipc_message.cc b/ipc/ipc_message.cc |
index e9e1dcbab24c57abb49ab7a180a298d3f0b83447..07d5d254759a23d208829d86d924c5e207a56ce3 100644 |
--- a/ipc/ipc_message.cc |
+++ b/ipc/ipc_message.cc |
@@ -46,9 +46,6 @@ |
Message::Message() : base::Pickle(sizeof(Header)) { |
header()->routing = header()->type = 0; |
header()->flags = GetRefNumUpper24(); |
-#if USE_ATTACHMENT_BROKER |
- header()->num_brokered_attachments = 0; |
-#endif |
#if defined(OS_POSIX) |
header()->num_fds = 0; |
header()->pad = 0; |
@@ -62,9 +59,6 @@ |
header()->type = type; |
DCHECK((priority & 0xffffff00) == 0); |
header()->flags = priority | GetRefNumUpper24(); |
-#if USE_ATTACHMENT_BROKER |
- header()->num_brokered_attachments = 0; |
-#endif |
#if defined(OS_POSIX) |
header()->num_fds = 0; |
header()->pad = 0; |
@@ -137,12 +131,6 @@ |
// We write the index of the descriptor so that we don't have to |
// keep the current descriptor as extra decoding state when deserialising. |
WriteInt(attachment_set()->size()); |
- |
-#if USE_ATTACHMENT_BROKER |
- if (attachment->GetType() == MessageAttachment::TYPE_BROKERABLE_ATTACHMENT) |
- header()->num_brokered_attachments += 1; |
-#endif |
- |
return attachment_set()->AddAttachment(attachment); |
} |