Index: webrtc/pc/channel.cc |
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc |
index 6a696ea4b4f6f92271ed5914757e190bb4d5770f..21e58e43e2a4a0d898a566bbd3c69a381e4a0180 100644 |
--- a/webrtc/pc/channel.cc |
+++ b/webrtc/pc/channel.cc |
@@ -33,7 +33,7 @@ namespace { |
bool SetRawAudioSink_w(VoiceMediaChannel* channel, |
uint32_t ssrc, |
rtc::scoped_ptr<webrtc::AudioSinkInterface>* sink) { |
- channel->SetRawAudioSink(ssrc, std::move(*sink)); |
+ channel->SetRawAudioSink(ssrc, rtc::ScopedToUnique(std::move(*sink))); |
return true; |
} |
} // namespace |