Index: ipc/ipc_channel_posix.cc |
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc |
index 4ccf71215bf0f7e2684315c048af20f5444017c1..0a774d09cd5d01162460639fe0ee74ba19f01294 100644 |
--- a/ipc/ipc_channel_posix.cc |
+++ b/ipc/ipc_channel_posix.cc |
@@ -24,6 +24,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/singleton.h" |
#include "base/process_util.h" |
+#include "base/stl_util-inl.h" |
#include "base/string_util.h" |
#include "base/synchronization/lock.h" |
#include "ipc/ipc_descriptors.h" |
@@ -735,7 +736,7 @@ bool Channel::ChannelImpl::ProcessIncomingMessages() { |
} |
input_overflow_fds_ = std::vector<int>(&fds[fds_i], &fds[num_fds]); |
fds_i = 0; |
- fds = &input_overflow_fds_[0]; |
+ fds = vector_as_array(&input_overflow_fds_); |
num_fds = input_overflow_fds_.size(); |
} |
input_overflow_buf_.assign(p, end - p); |