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

Unified Diff: remoting/host/chromeos/clipboard_aura.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/chromeos/clipboard_aura.cc
diff --git a/remoting/host/chromeos/clipboard_aura.cc b/remoting/host/chromeos/clipboard_aura.cc
index 53ce71e2d080001745e2544b069647b7d958ebde..a9c01baa077bdc4927ec5d33d681a907b412d4f0 100644
--- a/remoting/host/chromeos/clipboard_aura.cc
+++ b/remoting/host/chromeos/clipboard_aura.cc
@@ -33,7 +33,7 @@ void ClipboardAura::Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
DCHECK(thread_checker_.CalledOnValidThread());
- client_clipboard_ = client_clipboard.Pass();
+ client_clipboard_ = std::move(client_clipboard);
// Aura doesn't provide a clipboard-changed notification. The only way to
// detect clipboard changes is by polling.

Powered by Google App Engine
This is Rietveld 408576698