Index: remoting/host/ipc_audio_capturer.cc |
diff --git a/remoting/host/ipc_audio_capturer.cc b/remoting/host/ipc_audio_capturer.cc |
index 5bc568d913e77c624ff35456e97b22cc80e8721b..3b6b95d4b84d1f83a8da2d7202ac5bcc171935ef 100644 |
--- a/remoting/host/ipc_audio_capturer.cc |
+++ b/remoting/host/ipc_audio_capturer.cc |
@@ -4,6 +4,8 @@ |
#include "remoting/host/ipc_audio_capturer.h" |
+#include <utility> |
+ |
#include "remoting/host/desktop_session_proxy.h" |
#include "remoting/proto/audio.pb.h" |
@@ -28,7 +30,7 @@ bool IpcAudioCapturer::Start(const PacketCapturedCallback& callback) { |
} |
void IpcAudioCapturer::OnAudioPacket(scoped_ptr<AudioPacket> packet) { |
- callback_.Run(packet.Pass()); |
+ callback_.Run(std::move(packet)); |
} |
} // namespace remoting |