| Index: mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| diff --git a/mojo/edk/test/multiprocess_test_helper_unittest.cc b/mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| index 84db4216a279f25aff01f455d41a7da844088d6e..8150bbb442273056ea39403dae07fe9a9e367799 100644
|
| --- a/mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| +++ b/mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "mojo/edk/test/multiprocess_test_helper.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "build/build_config.h"
|
| #include "mojo/edk/embedder/scoped_platform_handle.h"
|
| @@ -88,7 +90,7 @@ TEST_F(MultiprocessTestHelperTest, MAYBE_PassedChannel) {
|
| helper.StartChild("PassedChannel");
|
|
|
| // Take ownership of the handle.
|
| - ScopedPlatformHandle handle = helper.server_platform_handle.Pass();
|
| + ScopedPlatformHandle handle = std::move(helper.server_platform_handle);
|
|
|
| // The handle should be non-blocking.
|
| EXPECT_TRUE(IsNonBlocking(handle.get()));
|
| @@ -111,7 +113,7 @@ MOJO_MULTIPROCESS_TEST_CHILD_MAIN(PassedChannel) {
|
|
|
| // Take ownership of the handle.
|
| ScopedPlatformHandle handle =
|
| - MultiprocessTestHelper::client_platform_handle.Pass();
|
| + std::move(MultiprocessTestHelper::client_platform_handle);
|
|
|
| // The handle should be non-blocking.
|
| EXPECT_TRUE(IsNonBlocking(handle.get()));
|
|
|