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

Unified Diff: webrtc/audio_receive_stream.h

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/audio_receive_stream.h
diff --git a/webrtc/audio_receive_stream.h b/webrtc/audio_receive_stream.h
index 6c8a028286358658578244067d6df2b10b983524..5254c41780abebbba4f887419fb5d1f08f6070f5 100644
--- a/webrtc/audio_receive_stream.h
+++ b/webrtc/audio_receive_stream.h
@@ -12,10 +12,10 @@
#define WEBRTC_AUDIO_RECEIVE_STREAM_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/config.h"
#include "webrtc/stream.h"
#include "webrtc/transport.h"
@@ -114,7 +114,7 @@ class AudioReceiveStream : public ReceiveStream {
// to stream through this sink. In practice, this happens if mixed audio
// is being pulled+rendered and/or if audio is being pulled for the purposes
// of feeding to the AEC.
- virtual void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink) = 0;
+ virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink) = 0;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698