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

Unified Diff: content/browser/speech/chunked_byte_buffer.h

Issue 2742333002: Remove ScopedVector from content/browser/ [1]. (Closed)
Patch Set: Created 3 years, 9 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/browser/speech/chunked_byte_buffer.h
diff --git a/content/browser/speech/chunked_byte_buffer.h b/content/browser/speech/chunked_byte_buffer.h
index 41e273d2d7ec78f8af82c05f31110c8d950f3503..e6afe40e8cdce56a13536b774a825b8a6f64906a 100644
--- a/content/browser/speech/chunked_byte_buffer.h
+++ b/content/browser/speech/chunked_byte_buffer.h
@@ -13,7 +13,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "content/common/content_export.h"
namespace content {
@@ -65,7 +64,7 @@ class CONTENT_EXPORT ChunkedByteBuffer {
DISALLOW_COPY_AND_ASSIGN(Chunk);
};
- ScopedVector<Chunk> chunks_;
+ std::vector<std::unique_ptr<Chunk>> chunks_;
std::unique_ptr<Chunk> partial_chunk_;
size_t total_bytes_stored_;

Powered by Google App Engine
This is Rietveld 408576698