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

Unified Diff: remoting/host/signaling_connector.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: include <utility> 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 | « remoting/host/shaped_desktop_capturer.cc ('k') | remoting/host/single_window_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/signaling_connector.cc
diff --git a/remoting/host/signaling_connector.cc b/remoting/host/signaling_connector.cc
index cf1d1499fa86c73d29183539e3753b12631163c5..ac5bbaf6c5c3ee09a5dcfba54889e4e6f026c0f4 100644
--- a/remoting/host/signaling_connector.cc
+++ b/remoting/host/signaling_connector.cc
@@ -4,6 +4,8 @@
#include "remoting/host/signaling_connector.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/strings/string_util.h"
@@ -45,7 +47,7 @@ SignalingConnector::SignalingConnector(
const base::Closure& auth_failed_callback)
: signal_strategy_(signal_strategy),
auth_failed_callback_(auth_failed_callback),
- dns_blackhole_checker_(dns_blackhole_checker.Pass()),
+ dns_blackhole_checker_(std::move(dns_blackhole_checker)),
oauth_token_getter_(oauth_token_getter),
reconnect_attempts_(0) {
DCHECK(!auth_failed_callback_.is_null());
« no previous file with comments | « remoting/host/shaped_desktop_capturer.cc ('k') | remoting/host/single_window_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698