| Index: remoting/host/native_messaging/native_messaging_writer_unittest.cc
|
| diff --git a/remoting/host/native_messaging/native_messaging_writer_unittest.cc b/remoting/host/native_messaging/native_messaging_writer_unittest.cc
|
| index 88dbb2147b0de52666a0ead4e2cc1218d62bd202..def0a757365681a746b6e61e2110d0e6139d6101 100644
|
| --- a/remoting/host/native_messaging/native_messaging_writer_unittest.cc
|
| +++ b/remoting/host/native_messaging/native_messaging_writer_unittest.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "base/json/json_reader.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/stl_util.h"
|
| @@ -29,12 +31,11 @@ class NativeMessagingWriterTest : public testing::Test {
|
| };
|
|
|
| NativeMessagingWriterTest::NativeMessagingWriterTest() {}
|
| -
|
| NativeMessagingWriterTest::~NativeMessagingWriterTest() {}
|
|
|
| void NativeMessagingWriterTest::SetUp() {
|
| ASSERT_TRUE(MakePipe(&read_file_, &write_file_));
|
| - writer_.reset(new NativeMessagingWriter(write_file_.Pass()));
|
| + writer_.reset(new NativeMessagingWriter(std::move(write_file_)));
|
| }
|
|
|
| TEST_F(NativeMessagingWriterTest, GoodMessage) {
|
|
|