Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: webrtc/media/engine/fakewebrtccall.cc

Issue 1706183002: Replace scoped_ptr with unique_ptr in webrtc/audio/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698