Index: media/base/audio_renderer_mixer.h |
diff --git a/media/base/audio_renderer_mixer.h b/media/base/audio_renderer_mixer.h |
index 9c712105d98a9eef490f3e650a83643e77942802..42cad9914776ef390be513a4a0f8262649997628 100644 |
--- a/media/base/audio_renderer_mixer.h |
+++ b/media/base/audio_renderer_mixer.h |
@@ -8,10 +8,10 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/lock.h" |
#include "base/time/time.h" |
#include "media/base/audio_converter.h" |
@@ -50,7 +50,8 @@ class MEDIA_EXPORT AudioRendererMixer |
private: |
// Maps input sample rate to the dedicated converter. |
- typedef std::map<int, scoped_ptr<LoopbackAudioConverter>> AudioConvertersMap; |
+ typedef std::map<int, std::unique_ptr<LoopbackAudioConverter>> |
dcheng
2016/04/23 00:57:23
using if you want.
danakj
2016/04/23 01:11:15
Done.
|
+ AudioConvertersMap; |
// AudioRendererSink::RenderCallback implementation. |
int Render(AudioBus* audio_bus, |