Index: ipc/ipc_channel_posix.cc |
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc |
index 1960cb037e0c4f927b10196b5f5373ee1bdfd77a..4d6b8a024f04951d1e6ed81bb9c5ff902ddfe0ea 100644 |
--- a/ipc/ipc_channel_posix.cc |
+++ b/ipc/ipc_channel_posix.cc |
@@ -1126,7 +1126,7 @@ void Channel::ChannelImpl::ClearInputFDs() { |
void Channel::ChannelImpl::HandleHelloMessage(const Message& msg) { |
// The Hello message contains only the process id. |
- void *iter = NULL; |
+ PickleIterator iter(msg); |
int pid; |
if (!msg.ReadInt(&iter, &pid)) |
NOTREACHED(); |