Index: media/formats/mp2t/mp2t_stream_parser_unittest.cc |
diff --git a/media/formats/mp2t/mp2t_stream_parser_unittest.cc b/media/formats/mp2t/mp2t_stream_parser_unittest.cc |
index 933a5de626f65c0218725fada0a8c6f7469e7662..3555b914199f2de299192d8bfabba5bea17a3b62 100644 |
--- a/media/formats/mp2t/mp2t_stream_parser_unittest.cc |
+++ b/media/formats/mp2t/mp2t_stream_parser_unittest.cc |
@@ -174,6 +174,7 @@ class Mp2tStreamParserTest : public testing::Test { |
} |
protected: |
+ MediaLog media_log_; |
std::unique_ptr<Mp2tStreamParser> parser_; |
int segment_count_; |
int config_count_; |
@@ -358,7 +359,7 @@ class Mp2tStreamParserTest : public testing::Test { |
base::Bind(&Mp2tStreamParserTest::OnNewSegment, base::Unretained(this)), |
base::Bind(&Mp2tStreamParserTest::OnEndOfSegment, |
base::Unretained(this)), |
- new MediaLog()); |
+ &media_log_); |
} |
bool ParseMpeg2TsFile(const std::string& filename, int append_bytes) { |