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

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

Issue 2314403003: media_recorder_handler: Changed deprecated ScopedVector to std::vector (Closed)
Patch Set: media_recorder_handler: Replaced raw pointer with std::unique_ptr Created 4 years, 3 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/media_recorder_handler.h
diff --git a/content/renderer/media/media_recorder_handler.h b/content/renderer/media/media_recorder_handler.h
index 8fa56c4ad4fa3c5739e06e0ecd05f3e4532aa879..8b9619c477e63cbfdc98057c093c919268037f7f 100644
--- a/content/renderer/media/media_recorder_handler.h
+++ b/content/renderer/media/media_recorder_handler.h
@@ -104,8 +104,8 @@ class CONTENT_EXPORT MediaRecorderHandler final
// |client_| is a weak pointer, and is valid for the lifetime of this object.
blink::WebMediaRecorderHandlerClient* client_;
- ScopedVector<VideoTrackRecorder> video_recorders_;
- ScopedVector<AudioTrackRecorder> audio_recorders_;
+ std::vector<std::unique_ptr<VideoTrackRecorder>> video_recorders_;
+ std::vector<std::unique_ptr<AudioTrackRecorder>> audio_recorders_;
// Worker class doing the actual Webm Muxing work.
std::unique_ptr<media::WebmMuxer> webm_muxer_;
« no previous file with comments | « no previous file | content/renderer/media/media_recorder_handler.cc » ('j') | content/renderer/media/media_recorder_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698