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

Unified Diff: media/base/audio_buffer_converter.h

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: android 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/base/audio_buffer.h ('k') | media/base/audio_buffer_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_buffer_converter.h
diff --git a/media/base/audio_buffer_converter.h b/media/base/audio_buffer_converter.h
index f143f3224d8acb417ab9f7331dec1643a6d57ebf..37d909d95f993b310759bdfa8e587a7cbccb3e1c 100644
--- a/media/base/audio_buffer_converter.h
+++ b/media/base/audio_buffer_converter.h
@@ -6,9 +6,9 @@
#define MEDIA_BASE_AUDIO_BUFFER_CONVERTER
#include <deque>
+#include <memory>
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "media/base/audio_converter.h"
#include "media/base/audio_parameters.h"
@@ -100,7 +100,7 @@ class MEDIA_EXPORT AudioBufferConverter : public AudioConverter::InputCallback {
bool is_flushing_;
// The AudioConverter which does the real work here.
- scoped_ptr<AudioConverter> audio_converter_;
+ std::unique_ptr<AudioConverter> audio_converter_;
};
} // namespace media
« no previous file with comments | « media/base/audio_buffer.h ('k') | media/base/audio_buffer_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698