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

Unified Diff: media/filters/frame_processor_unittest.cc

Issue 1235793005: Deprecate LogCB in favor of using MediaLog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and attempt to fix Android compilation Created 5 years, 5 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/ffmpeg_audio_decoder.cc ('k') | media/filters/source_buffer_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/frame_processor_unittest.cc
diff --git a/media/filters/frame_processor_unittest.cc b/media/filters/frame_processor_unittest.cc
index 21672f16d4e4e29a5a515cac23c4f1ba6b674737..cf54bd21022a5fb1a0453ee21c95dbf0955ab404 100644
--- a/media/filters/frame_processor_unittest.cc
+++ b/media/filters/frame_processor_unittest.cc
@@ -274,15 +274,14 @@ class FrameProcessorTest : public testing::TestWithParam<bool> {
0,
false);
frame_processor_->OnPossibleAudioConfigUpdate(decoder_config);
- ASSERT_TRUE(audio_->UpdateAudioConfig(decoder_config,
- base::Bind(&AddLogEntryForTest)));
+ ASSERT_TRUE(audio_->UpdateAudioConfig(decoder_config, new MediaLog()));
break;
}
case DemuxerStream::VIDEO: {
ASSERT_FALSE(video_);
video_.reset(new ChunkDemuxerStream(DemuxerStream::VIDEO, true));
ASSERT_TRUE(video_->UpdateVideoConfig(TestVideoConfig::Normal(),
- base::Bind(&AddLogEntryForTest)));
+ new MediaLog()));
break;
}
// TODO(wolenetz): Test text coded frame processing.
« no previous file with comments | « media/filters/ffmpeg_audio_decoder.cc ('k') | media/filters/source_buffer_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698