Index: media/filters/ffmpeg_video_decoder_unittest.cc |
diff --git a/media/filters/ffmpeg_video_decoder_unittest.cc b/media/filters/ffmpeg_video_decoder_unittest.cc |
index e0f0b99a6b27028f0619eb2633cc3ec2b11aca5f..1d0a710fad1daea5c97890478b25943eb2ec2055 100644 |
--- a/media/filters/ffmpeg_video_decoder_unittest.cc |
+++ b/media/filters/ffmpeg_video_decoder_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/bind.h" |
#include "base/callback_helpers.h" |
#include "base/macros.h" |
+#include "base/memory/ref_counted.h" |
#include "base/memory/singleton.h" |
#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
@@ -18,6 +19,7 @@ |
#include "media/base/decoder_buffer.h" |
#include "media/base/gmock_callback_support.h" |
#include "media/base/limits.h" |
+#include "media/base/media_log.h" |
#include "media/base/media_util.h" |
#include "media/base/mock_filters.h" |
#include "media/base/test_data_util.h" |
@@ -53,7 +55,7 @@ ACTION_P(ReturnBuffer, buffer) { |
class FFmpegVideoDecoderTest : public testing::Test { |
public: |
FFmpegVideoDecoderTest() |
- : decoder_(new FFmpegVideoDecoder()), |
+ : decoder_(new FFmpegVideoDecoder(make_scoped_refptr(new MediaLog()))), |
decode_cb_(base::Bind(&FFmpegVideoDecoderTest::DecodeDone, |
base::Unretained(this))) { |
FFmpegGlue::InitializeFFmpeg(); |