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

Unified Diff: media/filters/video_frame_stream_unittest.cc

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Rebase. Created 3 years, 8 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
« no previous file with comments | « media/filters/video_decoder_selector_unittest.cc ('k') | media/filters/video_renderer_algorithm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_frame_stream_unittest.cc
diff --git a/media/filters/video_frame_stream_unittest.cc b/media/filters/video_frame_stream_unittest.cc
index 27fea03bc222029a47274b756e061db1f07d5e51..c82dadd2ae743c88422cba1541d5be6ee23b49b3 100644
--- a/media/filters/video_frame_stream_unittest.cc
+++ b/media/filters/video_frame_stream_unittest.cc
@@ -92,7 +92,7 @@ class VideoFrameStreamTest
decoders.push_back(decoder3_);
video_frame_stream_.reset(new VideoFrameStream(
- message_loop_.task_runner(), std::move(decoders), new MediaLog()));
+ message_loop_.task_runner(), std::move(decoders), &media_log_));
if (GetParam().is_encrypted && GetParam().has_decryptor) {
decryptor_.reset(new NiceMock<MockDecryptor>());
@@ -364,6 +364,7 @@ class VideoFrameStreamTest
base::MessageLoop message_loop_;
+ MediaLog media_log_;
std::unique_ptr<VideoFrameStream> video_frame_stream_;
std::unique_ptr<FakeDemuxerStream> demuxer_stream_;
std::unique_ptr<StrictMock<MockCdmContext>> cdm_context_;
« no previous file with comments | « media/filters/video_decoder_selector_unittest.cc ('k') | media/filters/video_renderer_algorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698