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

Unified Diff: media/base/audio_push_fifo.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_pull_fifo_unittest.cc ('k') | media/base/audio_push_fifo_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_push_fifo.h
diff --git a/media/base/audio_push_fifo.h b/media/base/audio_push_fifo.h
index 8512cd1793275c09f926a17798c0a3da3c9f2258..eca0722acb5483b9bea286c1426dc4000976f535 100644
--- a/media/base/audio_push_fifo.h
+++ b/media/base/audio_push_fifo.h
@@ -5,9 +5,10 @@
#ifndef MEDIA_BASE_AUDIO_PUSH_FIFO_H_
#define MEDIA_BASE_AUDIO_PUSH_FIFO_H_
+#include <memory>
+
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "media/base/audio_bus.h"
#include "media/base/media_export.h"
@@ -62,7 +63,7 @@ class MEDIA_EXPORT AudioPushFifo final {
int frames_per_buffer_;
// Queue of frames pending for delivery.
- scoped_ptr<AudioBus> audio_queue_;
+ std::unique_ptr<AudioBus> audio_queue_;
int queued_frames_;
DISALLOW_COPY_AND_ASSIGN(AudioPushFifo);
« no previous file with comments | « media/base/audio_pull_fifo_unittest.cc ('k') | media/base/audio_push_fifo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698