Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: jingle/notifier/base/xmpp_connection_unittest.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « jingle/glue/xmpp_client_socket_factory.cc ('k') | mash/example/window_type_launcher/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « jingle/glue/xmpp_client_socket_factory.cc ('k') | mash/example/window_type_launcher/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698