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

Unified Diff: media/test/pipeline_integration_test.cc

Issue 2871503002: Remove ScopedVector from audio/video renderer related code in media/ (Closed)
Patch Set: Remove ScopedVector from audio/video render related code in media/ Created 3 years, 7 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: media/test/pipeline_integration_test.cc
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc
index 3b7a8ceff64255104ab83313ab6fc12807048d96..823f79825f271244f9e59b55fc2896454ff297de 100644
--- a/media/test/pipeline_integration_test.cc
+++ b/media/test/pipeline_integration_test.cc
@@ -1370,9 +1370,9 @@ TEST_F(PipelineIntegrationTest, BasicPlaybackHi10P) {
ASSERT_TRUE(WaitUntilOnEnded());
}
-ScopedVector<VideoDecoder> CreateFailingVideoDecoder() {
- ScopedVector<VideoDecoder> failing_video_decoder;
- failing_video_decoder.push_back(new FailingVideoDecoder());
+std::vector<std::unique_ptr<VideoDecoder>> CreateFailingVideoDecoder() {
+ std::vector<std::unique_ptr<VideoDecoder>> failing_video_decoder;
+ failing_video_decoder.push_back(base::MakeUnique<FailingVideoDecoder>());
return failing_video_decoder;
}

Powered by Google App Engine
This is Rietveld 408576698