Index: webrtc/media/engine/fakewebrtccall.cc |
diff --git a/webrtc/media/engine/fakewebrtccall.cc b/webrtc/media/engine/fakewebrtccall.cc |
index 59eb230aa0bb3fab6836e7432146f16a151e6f66..af098af8228bb7342ea337547d116cde98e32c9e 100644 |
--- a/webrtc/media/engine/fakewebrtccall.cc |
+++ b/webrtc/media/engine/fakewebrtccall.cc |
@@ -76,8 +76,8 @@ webrtc::AudioReceiveStream::Stats FakeAudioReceiveStream::GetStats() const { |
} |
void FakeAudioReceiveStream::SetSink( |
- rtc::scoped_ptr<webrtc::AudioSinkInterface> sink) { |
- sink_ = std::move(sink); |
+ std::unique_ptr<webrtc::AudioSinkInterface> sink) { |
+ sink_ = rtc::UniqueToScoped(std::move(sink)); |
} |
FakeVideoSendStream::FakeVideoSendStream( |