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

Unified Diff: media/video/ffmpeg_video_decode_engine_unittest.cc

Issue 8417016: Remove media::VideoDecodeContext as it has no implementation and is unused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 9 years, 2 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/video/ffmpeg_video_decode_engine.cc ('k') | media/video/video_decode_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/ffmpeg_video_decode_engine_unittest.cc
diff --git a/media/video/ffmpeg_video_decode_engine_unittest.cc b/media/video/ffmpeg_video_decode_engine_unittest.cc
index c5469b45ecebd40cf53f0f200aa887e55fc3b7db..8670dc853af017e744c05edb451fce6047ce02e7 100644
--- a/media/video/ffmpeg_video_decode_engine_unittest.cc
+++ b/media/video/ffmpeg_video_decode_engine_unittest.cc
@@ -61,7 +61,7 @@ class FFmpegVideoDecodeEngineTest
void Initialize() {
EXPECT_CALL(*this, OnInitializeComplete(true));
- test_engine_->Initialize(MessageLoop::current(), this, NULL, config_);
+ test_engine_->Initialize(this, config_);
}
// Decodes the single compressed frame in |buffer| and writes the
@@ -154,7 +154,7 @@ TEST_F(FFmpegVideoDecodeEngineTest, Initialize_FindDecoderFails) {
// Test avcodec_find_decoder() returning NULL.
EXPECT_CALL(*this, OnInitializeComplete(false));
- test_engine_->Initialize(MessageLoop::current(), this, NULL, config);
+ test_engine_->Initialize(this, config);
}
TEST_F(FFmpegVideoDecodeEngineTest, Initialize_OpenDecoderFails) {
@@ -165,7 +165,7 @@ TEST_F(FFmpegVideoDecodeEngineTest, Initialize_OpenDecoderFails) {
kAspectRatio.num, kAspectRatio.den,
NULL, 0);
EXPECT_CALL(*this, OnInitializeComplete(false));
- test_engine_->Initialize(MessageLoop::current(), this, NULL, config);
+ test_engine_->Initialize(this, config);
}
TEST_F(FFmpegVideoDecodeEngineTest, DecodeFrame_Normal) {
« no previous file with comments | « media/video/ffmpeg_video_decode_engine.cc ('k') | media/video/video_decode_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698