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

Unified Diff: remoting/host/linux/audio_pipe_reader.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/linux/audio_pipe_reader.cc
diff --git a/remoting/host/linux/audio_pipe_reader.cc b/remoting/host/linux/audio_pipe_reader.cc
index 61a290da25623e206db76092076576543f29ed4f..55427de56b4210fe033617fea34e7965dd9f68ad 100644
--- a/remoting/host/linux/audio_pipe_reader.cc
+++ b/remoting/host/linux/audio_pipe_reader.cc
@@ -115,7 +115,7 @@ void AudioPipeReader::TryOpenPipe() {
file_descriptor_watcher_.StopWatchingFileDescriptor();
timer_.Stop();
- pipe_ = new_pipe.Pass();
+ pipe_ = std::move(new_pipe);
if (pipe_.IsValid()) {
// Get buffer size for the pipe.

Powered by Google App Engine
This is Rietveld 408576698