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

Unified Diff: remoting/host/host_change_notification_listener_unittest.cc

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
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
Index: remoting/host/host_change_notification_listener_unittest.cc
diff --git a/remoting/host/host_change_notification_listener_unittest.cc b/remoting/host/host_change_notification_listener_unittest.cc
index 0d3f231cc2421008ce476a146aabfd52b2c3a187..bdaff5b51bdb7d8c1956d8f6168717eb39b2b40a 100644
--- a/remoting/host/host_change_notification_listener_unittest.cc
+++ b/remoting/host/host_change_notification_listener_unittest.cc
@@ -78,7 +78,7 @@ class HostChangeNotificationListenerTest : public testing::Test {
stanza->AddElement(host_changed);
stanza->AddAttr(buzz::QN_FROM, botJid);
stanza->AddAttr(buzz::QN_TO, kTestJid);
- return stanza.Pass();
+ return stanza;
}
MockListener mock_listener_;

Powered by Google App Engine
This is Rietveld 408576698