Index: webrtc/media/engine/webrtcvoiceengine.cc |
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc |
index b6c2deaf53a2839e4c20352a6d9f8e9e7af7fd84..70f7f3a4b4c5a79e93a3dde73ab1e9858701c054 100644 |
--- a/webrtc/media/engine/webrtcvoiceengine.cc |
+++ b/webrtc/media/engine/webrtcvoiceengine.cc |
@@ -1338,7 +1338,7 @@ class WebRtcVoiceMediaChannel::WebRtcAudioReceiveStream { |
void SetRawAudioSink(rtc::scoped_ptr<webrtc::AudioSinkInterface> sink) { |
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
- stream_->SetSink(std::move(sink)); |
+ stream_->SetSink(rtc::ScopedToUnique(std::move(sink))); |
} |
private: |