| Index: webrtc/api/remoteaudiosource.cc
|
| diff --git a/webrtc/api/remoteaudiosource.cc b/webrtc/api/remoteaudiosource.cc
|
| index 23cd65cbd8d144e0eef31bc0a1aa4b7b229ff410..2d0785a08f1c9a10de8ec24274c64b445222db05 100644
|
| --- a/webrtc/api/remoteaudiosource.cc
|
| +++ b/webrtc/api/remoteaudiosource.cc
|
| @@ -12,6 +12,7 @@
|
|
|
| #include <algorithm>
|
| #include <functional>
|
| +#include <memory>
|
| #include <utility>
|
|
|
| #include "webrtc/api/mediastreamprovider.h"
|
| @@ -81,7 +82,7 @@ void RemoteAudioSource::Initialize(uint32_t ssrc,
|
| // we register for callbacks here and not on demand in AddSink.
|
| if (provider) { // May be null in tests.
|
| provider->SetRawAudioSink(
|
| - ssrc, rtc::scoped_ptr<AudioSinkInterface>(new Sink(this)));
|
| + ssrc, std::unique_ptr<AudioSinkInterface>(new Sink(this)));
|
| }
|
| }
|
|
|
|
|