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

Unified Diff: media/base/multi_channel_resampler.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 | « media/base/audio_renderer_mixer_unittest.cc ('k') | media/base/multi_channel_resampler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/multi_channel_resampler.h
diff --git a/media/base/multi_channel_resampler.h b/media/base/multi_channel_resampler.h
index 02866b992f08bdcb6af264fa572178f96560a120..81c28ee4ead4415808e7d6875f5eb66dfa11fd4c 100644
--- a/media/base/multi_channel_resampler.h
+++ b/media/base/multi_channel_resampler.h
@@ -12,7 +12,6 @@
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "media/base/sinc_resampler.h"
namespace media {
@@ -69,7 +68,7 @@ class MEDIA_EXPORT MultiChannelResampler {
ReadCB read_cb_;
// Each channel has its own high quality resampler.
- ScopedVector<SincResampler> resamplers_;
+ std::vector<std::unique_ptr<SincResampler>> resamplers_;
// Buffers for audio data going into SincResampler from ReadCB.
std::unique_ptr<AudioBus> resampler_audio_bus_;
« no previous file with comments | « media/base/audio_renderer_mixer_unittest.cc ('k') | media/base/multi_channel_resampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698