| Index: mojo/edk/system/local_data_pipe_impl.cc
|
| diff --git a/mojo/edk/system/local_data_pipe_impl.cc b/mojo/edk/system/local_data_pipe_impl.cc
|
| index 195e155faf3a7260e90c096d1c12d51147eb0fb7..1af0f92d00643ae2093ff867f4211d6a9e00b903 100644
|
| --- a/mojo/edk/system/local_data_pipe_impl.cc
|
| +++ b/mojo/edk/system/local_data_pipe_impl.cc
|
| @@ -13,6 +13,7 @@
|
| #include <string.h>
|
|
|
| #include <algorithm>
|
| +#include <utility>
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -193,7 +194,7 @@ bool LocalDataPipeImpl::ProducerEndSerialize(
|
| // Note: Keep |*this| alive until the end of this method, to make things
|
| // slightly easier on ourselves.
|
| scoped_ptr<DataPipeImpl> self(ReplaceImpl(make_scoped_ptr(
|
| - new RemoteProducerDataPipeImpl(channel_endpoint.get(), buffer_.Pass(),
|
| + new RemoteProducerDataPipeImpl(channel_endpoint.get(), std::move(buffer_),
|
| start_index_, current_num_bytes_))));
|
|
|
| *actual_size = sizeof(SerializedDataPipeProducerDispatcher) +
|
|
|