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

Unified Diff: chrome/test/chromedriver/session_commands.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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
Index: chrome/test/chromedriver/session_commands.cc
diff --git a/chrome/test/chromedriver/session_commands.cc b/chrome/test/chromedriver/session_commands.cc
index 816c21956a3975c69cbf194926ac39f0c9c52fa2..c47ef7226a5a4e520904d13c1927d78635f43fc0 100644
--- a/chrome/test/chromedriver/session_commands.cc
+++ b/chrome/test/chromedriver/session_commands.cc
@@ -5,6 +5,7 @@
#include "chrome/test/chromedriver/session_commands.h"
#include <list>
+#include <utility>
#include "base/bind.h"
#include "base/callback.h"
@@ -100,7 +101,7 @@ scoped_ptr<base::DictionaryValue> CreateCapabilities(Chrome* chrome) {
desktop->command().GetSwitchValueNative("user-data-dir"));
}
- return caps.Pass();
+ return caps;
}
Status CheckSessionCreated(Session* session) {
@@ -643,7 +644,7 @@ Status ExecuteGetAvailableLogTypes(
++log) {
types->AppendString((*log)->type());
}
- *value = types.Pass();
+ *value = std::move(types);
return Status(kOk);
}

Powered by Google App Engine
This is Rietveld 408576698