Index: ipc/ipc_channel_reader.cc |
diff --git a/ipc/ipc_channel_reader.cc b/ipc/ipc_channel_reader.cc |
index 5ca0e46dd5a5377881c6b997cb5da261af22d316..326c6d7e8aad8d1a00d47696e0a844dc11c2cbc8 100644 |
--- a/ipc/ipc_channel_reader.cc |
+++ b/ipc/ipc_channel_reader.cc |
@@ -213,8 +213,8 @@ ChannelReader::AttachmentIdSet ChannelReader::GetBrokeredAttachments( |
#if USE_ATTACHMENT_BROKER |
MessageAttachmentSet* set = msg->attachment_set(); |
- std::vector<const BrokerableAttachment*> brokerable_attachments_copy = |
- set->PeekBrokerableAttachments(); |
+ std::vector<BrokerableAttachment*> brokerable_attachments_copy = |
+ set->GetBrokerableAttachments(); |
for (const BrokerableAttachment* attachment : brokerable_attachments_copy) { |
if (attachment->NeedsBrokering()) { |
AttachmentBroker* broker = GetAttachmentBroker(); |