| 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 c8bda1bb190a6ce5fec8a9fc0bb9946b2fbd61bd..691e78bb9c71d4f2166bd246e39f1a5bc6c590c2 100644
|
| --- a/remoting/host/linux/audio_pipe_reader.cc
|
| +++ b/remoting/host/linux/audio_pipe_reader.cc
|
| @@ -10,6 +10,8 @@
|
| #include <sys/types.h>
|
| #include <unistd.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "base/posix/eintr_wrapper.h"
|
| #include "base/stl_util.h"
|
| @@ -116,7 +118,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.
|
|
|