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

Unified Diff: content/renderer/pepper/pepper_video_encoder_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_encoder_host.h
diff --git a/content/renderer/pepper/pepper_video_encoder_host.h b/content/renderer/pepper/pepper_video_encoder_host.h
index 51ca1de05e3bfdf0dc5b7fa27790e61733864b04..dbbaee5b73b86c45ac7fda402a9b483a0dbd2f3b 100644
--- a/content/renderer/pepper/pepper_video_encoder_host.h
+++ b/content/renderer/pepper/pepper_video_encoder_host.h
@@ -9,10 +9,10 @@
#include <stdint.h>
#include <memory>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "content/common/content_export.h"
#include "gpu/command_buffer/client/gpu_control_client.h"
#include "media/video/video_encode_accelerator.h"
@@ -53,7 +53,7 @@ class CONTENT_EXPORT PepperVideoEncoderHost
media::BitstreamBuffer ToBitstreamBuffer();
- // Index of the buffer in the ScopedVector. Buffers have the same id in
+ // Index of the buffer in the |shm_buffers_|. Buffers have the same id in
// the plugin and the host.
uint32_t id;
std::unique_ptr<base::SharedMemory> shm;
@@ -128,7 +128,7 @@ class CONTENT_EXPORT PepperVideoEncoderHost
// Non-owning pointer.
RendererPpapiHost* renderer_ppapi_host_;
- ScopedVector<ShmBuffer> shm_buffers_;
+ std::vector<std::unique_ptr<ShmBuffer>> shm_buffers_;
// Buffer manager for shared memory that holds video frames.
ppapi::MediaStreamBufferManager buffer_manager_;
« no previous file with comments | « content/renderer/pepper/pepper_video_decoder_host.cc ('k') | content/renderer/pepper/pepper_video_encoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698