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

Unified Diff: media/base/audio_pull_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: . 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
Index: media/base/audio_pull_fifo.h
diff --git a/media/base/audio_pull_fifo.h b/media/base/audio_pull_fifo.h
index 61e8332a677a67301dbeeeffd99ae69fd6a88350..3983e09407bf1703bcf4d11884276e97c3d6d8f1 100644
--- a/media/base/audio_pull_fifo.h
+++ b/media/base/audio_pull_fifo.h
@@ -5,9 +5,10 @@
#ifndef MEDIA_BASE_AUDIO_PULL_FIFO_H_
#define MEDIA_BASE_AUDIO_PULL_FIFO_H_
+#include <memory>
+
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
namespace media {
@@ -54,7 +55,7 @@ class MEDIA_EXPORT AudioPullFifo {
const ReadCB read_cb_;
// Temporary audio bus to hold the data from the producer.
- scoped_ptr<AudioBus> fifo_;
+ std::unique_ptr<AudioBus> fifo_;
int fifo_index_;
DISALLOW_COPY_AND_ASSIGN(AudioPullFifo);

Powered by Google App Engine
This is Rietveld 408576698