Index: ipc/ipc_send_fds_test.cc |
diff --git a/ipc/ipc_send_fds_test.cc b/ipc/ipc_send_fds_test.cc |
index 3b845f8cf3c24b6acfae103e02ddd686b9de03e4..124a3dcb09271617182563c43f6f09e7c3423194 100644 |
--- a/ipc/ipc_send_fds_test.cc |
+++ b/ipc/ipc_send_fds_test.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -52,7 +52,7 @@ class MyChannelDescriptorListener : public IPC::Channel::Listener { |
num_fds_received_(0) {} |
virtual bool OnMessageReceived(const IPC::Message& message) { |
- void* iter = NULL; |
+ PickleIterator iter(message); |
++num_fds_received_; |
base::FileDescriptor descriptor; |