| Index: media/formats/webm/webm_stream_parser_unittest.cc
|
| diff --git a/media/formats/webm/webm_stream_parser_unittest.cc b/media/formats/webm/webm_stream_parser_unittest.cc
|
| index 4d0b6103f0cbb6d52ae73cd94b7b2659ea496ace..6a413951d907c3d51b4e68603077c312735a7758 100644
|
| --- a/media/formats/webm/webm_stream_parser_unittest.cc
|
| +++ b/media/formats/webm/webm_stream_parser_unittest.cc
|
| @@ -97,7 +97,7 @@ class WebMStreamParserTest : public testing::Test {
|
| TEST_F(WebMStreamParserTest, VerifyMediaTrackMetadata) {
|
| EXPECT_MEDIA_LOG(testing::HasSubstr("Estimating WebM block duration"))
|
| .Times(testing::AnyNumber());
|
| - StreamParser::InitParameters params(kInfiniteDuration());
|
| + StreamParser::InitParameters params(kInfiniteDuration);
|
| params.detected_audio_track_count = 1;
|
| params.detected_video_track_count = 1;
|
| params.detected_text_track_count = 0;
|
| @@ -124,7 +124,7 @@ TEST_F(WebMStreamParserTest, VerifyMediaTrackMetadata) {
|
| TEST_F(WebMStreamParserTest, VerifyDetectedTrack_AudioOnly) {
|
| EXPECT_MEDIA_LOG(testing::HasSubstr("Estimating WebM block duration"))
|
| .Times(testing::AnyNumber());
|
| - StreamParser::InitParameters params(kInfiniteDuration());
|
| + StreamParser::InitParameters params(kInfiniteDuration);
|
| params.detected_audio_track_count = 1;
|
| params.detected_video_track_count = 0;
|
| params.detected_text_track_count = 0;
|
| @@ -134,7 +134,7 @@ TEST_F(WebMStreamParserTest, VerifyDetectedTrack_AudioOnly) {
|
| }
|
|
|
| TEST_F(WebMStreamParserTest, VerifyDetectedTrack_VideoOnly) {
|
| - StreamParser::InitParameters params(kInfiniteDuration());
|
| + StreamParser::InitParameters params(kInfiniteDuration);
|
| params.detected_audio_track_count = 0;
|
| params.detected_video_track_count = 1;
|
| params.detected_text_track_count = 0;
|
| @@ -146,7 +146,7 @@ TEST_F(WebMStreamParserTest, VerifyDetectedTrack_VideoOnly) {
|
| TEST_F(WebMStreamParserTest, VerifyDetectedTracks_AVText) {
|
| EXPECT_MEDIA_LOG(testing::HasSubstr("Estimating WebM block duration"))
|
| .Times(testing::AnyNumber());
|
| - StreamParser::InitParameters params(kInfiniteDuration());
|
| + StreamParser::InitParameters params(kInfiniteDuration);
|
| params.detected_audio_track_count = 1;
|
| params.detected_video_track_count = 1;
|
| params.detected_text_track_count = 1;
|
|
|