Index: ipc/ipc_channel_win.cc |
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc |
index 2a487ffbca3dc024d13c4ca18afce2e05c3797b6..19f7cb5651c3478ad898079632f123dd26c6877c 100644 |
--- a/ipc/ipc_channel_win.cc |
+++ b/ipc/ipc_channel_win.cc |
@@ -107,7 +107,7 @@ bool ChannelWin::ProcessMessageForDelivery(Message* message) { |
if (message->HasBrokerableAttachments()) { |
DCHECK(GetAttachmentBroker()); |
DCHECK(peer_pid_ != base::kNullProcessId); |
- for (BrokerableAttachment* attachment : |
+ for (const scoped_refptr<IPC::BrokerableAttachment>& attachment : |
message->attachment_set()->GetBrokerableAttachments()) { |
if (!GetAttachmentBroker()->SendAttachmentToProcess(attachment, |
peer_pid_)) { |