Index: media/audio/sounds/wav_audio_handler.h |
diff --git a/media/audio/sounds/wav_audio_handler.h b/media/audio/sounds/wav_audio_handler.h |
index 83c99b44a2f85219f0a74256e42f644f07c30466..18836fc298759cf0836b8c006089dbd839e4dc1f 100644 |
--- a/media/audio/sounds/wav_audio_handler.h |
+++ b/media/audio/sounds/wav_audio_handler.h |
@@ -8,8 +8,9 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string_piece.h" |
#include "base/time/time.h" |
#include "media/base/media_export.h" |
@@ -27,7 +28,8 @@ class MEDIA_EXPORT WavAudioHandler { |
// Create a WavAudioHandler using |wav_data|. If |wav_data| cannot be parsed |
// correctly, the returned scoped_ptr will be null. The underlying memory for |
// wav_data must survive for the lifetime of this class. |
- static scoped_ptr<WavAudioHandler> Create(const base::StringPiece wav_data); |
+ static std::unique_ptr<WavAudioHandler> Create( |
+ const base::StringPiece wav_data); |
// Returns true when cursor points to the end of the track. |
bool AtEnd(size_t cursor) const; |