Index: remoting/test/app_remoting_connection_helper.cc |
diff --git a/remoting/test/app_remoting_connection_helper.cc b/remoting/test/app_remoting_connection_helper.cc |
index f39b398c9b05a70dbaa281c2cf002caef710733d..215a1a2b15baee8d2d6aa7823b571510bfafd4df 100644 |
--- a/remoting/test/app_remoting_connection_helper.cc |
+++ b/remoting/test/app_remoting_connection_helper.cc |
@@ -4,6 +4,8 @@ |
#include "remoting/test/app_remoting_connection_helper.h" |
+#include <utility> |
+ |
#include "base/json/json_reader.h" |
#include "base/logging.h" |
#include "base/run_loop.h" |
@@ -46,7 +48,7 @@ AppRemotingConnectionHelper::~AppRemotingConnectionHelper() { |
void AppRemotingConnectionHelper::Initialize( |
scoped_ptr<TestChromotingClient> test_chromoting_client) { |
- client_ = test_chromoting_client.Pass(); |
+ client_ = std::move(test_chromoting_client); |
client_->AddRemoteConnectionObserver(this); |
} |