Index: mojo/edk/system/data_pipe.cc |
diff --git a/mojo/edk/system/data_pipe.cc b/mojo/edk/system/data_pipe.cc |
index 109f1ac38449309fb9a3a52ee6852ce781c4c902..3efd6db1fe18b19f4a45a8e8d6685c6d93035e53 100644 |
--- a/mojo/edk/system/data_pipe.cc |
+++ b/mojo/edk/system/data_pipe.cc |
@@ -25,6 +25,7 @@ |
#include "mojo/edk/system/remote_producer_data_pipe_impl.h" |
#include "mojo/edk/util/make_unique.h" |
+using mojo::embedder::ScopedPlatformHandle; |
using mojo::util::MutexLocker; |
using mojo::util::RefPtr; |
@@ -416,7 +417,7 @@ bool DataPipe::ProducerEndSerialize( |
Channel* channel, |
void* destination, |
size_t* actual_size, |
- embedder::PlatformHandleVector* platform_handles) { |
+ std::vector<ScopedPlatformHandle>* platform_handles) { |
MutexLocker locker(&mutex_); |
DCHECK(has_local_producer_no_lock()); |
// Warning: After |ProducerEndSerialize()|, quite probably |impl_| has |
@@ -625,7 +626,7 @@ bool DataPipe::ConsumerEndSerialize( |
Channel* channel, |
void* destination, |
size_t* actual_size, |
- embedder::PlatformHandleVector* platform_handles) { |
+ std::vector<ScopedPlatformHandle>* platform_handles) { |
MutexLocker locker(&mutex_); |
DCHECK(has_local_consumer_no_lock()); |
// Warning: After |ConsumerEndSerialize()|, quite probably |impl_| has |