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

Unified Diff: chrome/test/chromedriver/chrome/chrome_remote_impl.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/chrome/chrome_remote_impl.cc
diff --git a/chrome/test/chromedriver/chrome/chrome_remote_impl.cc b/chrome/test/chromedriver/chrome/chrome_remote_impl.cc
index 1ecb77b0e60da485e0643f855c44bf81eec6f28d..5f0ce0aa2a991f1262c2ec6c9fa85c1d69c19ed2 100644
--- a/chrome/test/chromedriver/chrome/chrome_remote_impl.cc
+++ b/chrome/test/chromedriver/chrome/chrome_remote_impl.cc
@@ -3,6 +3,9 @@
// found in the LICENSE file.
#include "chrome/test/chromedriver/chrome/chrome_remote_impl.h"
+
+#include <utility>
+
#include "chrome/test/chromedriver/chrome/devtools_client.h"
#include "chrome/test/chromedriver/chrome/devtools_http_client.h"
#include "chrome/test/chromedriver/chrome/status.h"
@@ -12,8 +15,8 @@ ChromeRemoteImpl::ChromeRemoteImpl(
scoped_ptr<DevToolsHttpClient> http_client,
scoped_ptr<DevToolsClient> websocket_client,
ScopedVector<DevToolsEventListener>& devtools_event_listeners)
- : ChromeImpl(http_client.Pass(),
- websocket_client.Pass(),
+ : ChromeImpl(std::move(http_client),
+ std::move(websocket_client),
devtools_event_listeners,
scoped_ptr<PortReservation>()) {}

Powered by Google App Engine
This is Rietveld 408576698