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

Unified Diff: content/renderer/media/audio_repetition_detector.h

Issue 2705073003: Remove ScopedVector from content/renderer/. (Closed)
Patch Set: Rebase only Created 3 years, 10 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: content/renderer/media/audio_repetition_detector.h
diff --git a/content/renderer/media/audio_repetition_detector.h b/content/renderer/media/audio_repetition_detector.h
index ce61dcaf364f5523a3ed8bb423b7e96e44229bcc..34987024d97050b99bf87b6fa6c0a3ca0f6bdc35 100644
--- a/content/renderer/media/audio_repetition_detector.h
+++ b/content/renderer/media/audio_repetition_detector.h
@@ -7,11 +7,11 @@
#include <stddef.h>
+#include <memory>
#include <vector>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/threading/thread_checker.h"
#include "content/common/content_export.h"
@@ -114,7 +114,7 @@ class CONTENT_EXPORT AudioRepetitionDetector {
base::ThreadChecker main_thread_checker_;
base::ThreadChecker processing_thread_checker_;
- ScopedVector<State> states_;
+ std::vector<std::unique_ptr<State>> states_;
// Ring buffer to store input audio.
std::vector<float> audio_buffer_;
« no previous file with comments | « content/renderer/image_downloader/image_downloader_base.cc ('k') | content/renderer/media/audio_repetition_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698