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

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: 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/signaling_connector.cc
diff --git a/remoting/host/signaling_connector.cc b/remoting/host/signaling_connector.cc
index cf1d1499fa86c73d29183539e3753b12631163c5..c2ee3b34f8df7203170be5cc35fc8bb3660fc370 100644
--- a/remoting/host/signaling_connector.cc
+++ b/remoting/host/signaling_connector.cc
@@ -45,7 +45,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());

Powered by Google App Engine
This is Rietveld 408576698