Index: talk/media/webrtc/fakewebrtccall.cc |
diff --git a/talk/media/webrtc/fakewebrtccall.cc b/talk/media/webrtc/fakewebrtccall.cc |
index 990ac51b4e7f87e3df91a92258b7cc48144c96cd..d50a53cb63a59b787ce67c83f4293dae3bc7db13 100644 |
--- a/talk/media/webrtc/fakewebrtccall.cc |
+++ b/talk/media/webrtc/fakewebrtccall.cc |
@@ -93,8 +93,8 @@ |
} |
void FakeAudioReceiveStream::SetSink( |
- const rtc::scoped_refptr<webrtc::AudioSinkInterface>& sink) { |
- sink_ = sink; |
+ rtc::scoped_ptr<webrtc::AudioSinkInterface> sink) { |
+ sink_ = std::move(sink); |
} |
FakeVideoSendStream::FakeVideoSendStream( |