Index: jingle/glue/chrome_async_socket_unittest.cc |
diff --git a/jingle/glue/chrome_async_socket_unittest.cc b/jingle/glue/chrome_async_socket_unittest.cc |
index 79fdb683d2350a9750d04ca08fd56772f5153feb..fd8193da52b51309303a6d053b0c7b31452e1481 100644 |
--- a/jingle/glue/chrome_async_socket_unittest.cc |
+++ b/jingle/glue/chrome_async_socket_unittest.cc |
@@ -5,9 +5,9 @@ |
#include "jingle/glue/chrome_async_socket.h" |
#include <stddef.h> |
- |
#include <deque> |
#include <string> |
+#include <utility> |
#include "base/logging.h" |
#include "base/macros.h" |
@@ -137,7 +137,7 @@ class MockXmppClientSocketFactory : public ResolvingClientSocketFactory { |
context.cert_verifier = cert_verifier_.get(); |
context.transport_security_state = transport_security_state_.get(); |
return mock_client_socket_factory_->CreateSSLClientSocket( |
- transport_socket.Pass(), host_and_port, ssl_config_, context); |
+ std::move(transport_socket), host_and_port, ssl_config_, context); |
} |
private: |
@@ -161,7 +161,7 @@ class ChromeAsyncSocketTest |
// when called. |
// Explicitly create a MessagePumpDefault which can run in this enivronment. |
scoped_ptr<base::MessagePump> pump(new base::MessagePumpDefault()); |
- message_loop_.reset(new base::MessageLoop(pump.Pass())); |
+ message_loop_.reset(new base::MessageLoop(std::move(pump))); |
} |
~ChromeAsyncSocketTest() override {} |