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

Unified Diff: media/base/audio_block_fifo.h

Issue 2865113007: Remove ScopedVector from media/base/ (Closed)
Patch Set: added header file in text_renderer_unittest.cc Created 3 years, 7 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 | « no previous file | media/base/audio_block_fifo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_block_fifo.h
diff --git a/media/base/audio_block_fifo.h b/media/base/audio_block_fifo.h
index 8c0d5f5cccdc8f660078c94ef21ce00f8504ba42..a88208aca4aeeb62e5950537b465fb37050798aa 100644
--- a/media/base/audio_block_fifo.h
+++ b/media/base/audio_block_fifo.h
@@ -6,7 +6,6 @@
#define MEDIA_BASE_AUDIO_BLOCK_FIFO_H_
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "media/base/audio_bus.h"
#include "media/base/media_export.h"
@@ -59,7 +58,7 @@ class MEDIA_EXPORT AudioBlockFifo {
void PushInternal(const void* source, int frames, int bytes_per_sample);
// The actual FIFO is a vector of audio buses.
- ScopedVector<AudioBus> audio_blocks_;
+ std::vector<std::unique_ptr<AudioBus>> audio_blocks_;
// Number of channels in AudioBus.
const int channels_;
« no previous file with comments | « no previous file | media/base/audio_block_fifo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698