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

Unified Diff: media/audio/sounds/audio_stream_handler.h

Issue 1911913002: Convert //media/audio from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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
« no previous file with comments | « media/audio/simple_sources_unittest.cc ('k') | media/audio/sounds/audio_stream_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/sounds/audio_stream_handler.h
diff --git a/media/audio/sounds/audio_stream_handler.h b/media/audio/sounds/audio_stream_handler.h
index 2670025959787aa5631b6a4e00b98c2fac4c2537..2717590b9da13feb6108022dd684231cd060fd9e 100644
--- a/media/audio/sounds/audio_stream_handler.h
+++ b/media/audio/sounds/audio_stream_handler.h
@@ -7,6 +7,8 @@
#include <stddef.h>
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/strings/string_piece.h"
@@ -69,7 +71,7 @@ class MEDIA_EXPORT AudioStreamHandler : public base::NonThreadSafe {
AudioOutputStream::AudioSourceCallback* source);
base::TimeDelta duration_;
- scoped_ptr<AudioStreamContainer> stream_;
+ std::unique_ptr<AudioStreamContainer> stream_;
DISALLOW_COPY_AND_ASSIGN(AudioStreamHandler);
};
« no previous file with comments | « media/audio/simple_sources_unittest.cc ('k') | media/audio/sounds/audio_stream_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698