Index: jingle/notifier/base/xmpp_connection_unittest.cc |
diff --git a/jingle/notifier/base/xmpp_connection_unittest.cc b/jingle/notifier/base/xmpp_connection_unittest.cc |
index 56afc484a93f95be6032b1e53425ffd9320a932b..0e8266f04200dc77c9db6fa133ea08027255ff0b 100644 |
--- a/jingle/notifier/base/xmpp_connection_unittest.cc |
+++ b/jingle/notifier/base/xmpp_connection_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "jingle/notifier/base/xmpp_connection.h" |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/memory/ref_counted.h" |
@@ -76,7 +77,7 @@ class XmppConnectionTest : public testing::Test { |
XmppConnectionTest() |
: mock_pre_xmpp_auth_(new MockPreXmppAuth()) { |
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))); |
url_request_context_getter_ = new net::TestURLRequestContextGetter( |
message_loop_->task_runner()); |