| Index: mojo/edk/system/transport_data.cc
|
| diff --git a/mojo/edk/system/transport_data.cc b/mojo/edk/system/transport_data.cc
|
| index 417a6135f42402feefb6c83dd64b4fe9f43af614..805d24c4e0ec0ac38b983dc4a3fcb9cc1beddfd4 100644
|
| --- a/mojo/edk/system/transport_data.cc
|
| +++ b/mojo/edk/system/transport_data.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include <string.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "mojo/edk/system/channel.h"
|
| #include "mojo/edk/system/configuration.h"
|
| @@ -194,7 +196,7 @@ TransportData::TransportData(std::unique_ptr<DispatcherVector> dispatchers,
|
| TransportData::TransportData(
|
| embedder::ScopedPlatformHandleVectorPtr platform_handles,
|
| size_t serialized_platform_handle_size)
|
| - : buffer_size_(), platform_handles_(platform_handles.Pass()) {
|
| + : buffer_size_(), platform_handles_(std::move(platform_handles)) {
|
| buffer_size_ = MessageInTransit::RoundUpMessageAlignment(
|
| sizeof(Header) +
|
| platform_handles_->size() * serialized_platform_handle_size);
|
|
|