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

Unified Diff: content/renderer/pepper/pepper_video_decoder_host.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/pepper/pepper_video_decoder_host.h
diff --git a/content/renderer/pepper/pepper_video_decoder_host.h b/content/renderer/pepper/pepper_video_decoder_host.h
index 383e3e68ca6f04347baa44c89666324026d5bde0..e58aa1e9862f39f9a5102b776c69000ab8e24562 100644
--- a/content/renderer/pepper/pepper_video_decoder_host.h
+++ b/content/renderer/pepper/pepper_video_decoder_host.h
@@ -15,7 +15,6 @@
#include "base/containers/hash_tables.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "content/common/content_export.h"
#include "media/video/video_decode_accelerator.h"
#include "ppapi/c/pp_codecs.h"
@@ -135,7 +134,7 @@ class CONTENT_EXPORT PepperVideoDecoderHost
// resource. We use a buffer's index in these vectors as its id on both sides
// of the proxy. Only add buffers or update them in place so as not to
// invalidate these ids.
- ScopedVector<base::SharedMemory> shm_buffers_;
+ std::vector<std::unique_ptr<base::SharedMemory>> shm_buffers_;
// A vector of true/false indicating if a shm buffer is in use by the decoder.
// This is parallel to |shm_buffers_|.
std::vector<uint8_t> shm_buffer_busy_;
« no previous file with comments | « content/renderer/pepper/pepper_url_loader_host.cc ('k') | content/renderer/pepper/pepper_video_decoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698