Index: media/blink/webmediaplayer_impl_unittest.cc |
diff --git a/media/blink/webmediaplayer_impl_unittest.cc b/media/blink/webmediaplayer_impl_unittest.cc |
index 3f571530c390f334f6be207958498f05c51d6f8e..1a5347cf1db522afe821adb7e126232590d17cb4 100644 |
--- a/media/blink/webmediaplayer_impl_unittest.cc |
+++ b/media/blink/webmediaplayer_impl_unittest.cc |
@@ -733,6 +733,14 @@ TEST_F(WebMediaPlayerImplTest, AutoplayMuted_SetVolume) { |
wmpi_->SetVolume(1.0); |
} |
+TEST_F(WebMediaPlayerImplTest, NoStreams) { |
+ InitializeWebMediaPlayerImpl(true); |
+ PipelineMetadata metadata; |
+ |
+ // Nothing should happen. In particular, no assertions should fail. |
+ OnMetadata(metadata); |
+} |
+ |
TEST_F(WebMediaPlayerImplTest, NaturalSizeChange) { |
InitializeWebMediaPlayerImpl(true); |
PipelineMetadata metadata; |