Index: media/test/pipeline_integration_test.cc |
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc |
index 78ebfe053dde6cb089d68c5a68193a5562a6b024..dcbb66db8b2be06d7f04796382b499131f20d802 100644 |
--- a/media/test/pipeline_integration_test.cc |
+++ b/media/test/pipeline_integration_test.cc |
@@ -663,7 +663,9 @@ class PipelineIntegrationTest : public PipelineIntegrationTestHost { |
.Times(AtMost(1)) |
.WillRepeatedly(SaveArg<0>(&metadata_)); |
EXPECT_CALL(*this, OnBufferingStateChanged(BUFFERING_HAVE_ENOUGH)) |
- .Times(AtMost(1)); |
+ .Times(AnyNumber()); |
+ EXPECT_CALL(*this, OnBufferingStateChanged(BUFFERING_HAVE_NOTHING)) |
+ .Times(AnyNumber()); |
// Encrypted content not used, so this is never called. |
EXPECT_CALL(*this, OnWaitingForDecryptionKey()).Times(0); |
@@ -700,7 +702,9 @@ class PipelineIntegrationTest : public PipelineIntegrationTestHost { |
.Times(AtMost(1)) |
.WillRepeatedly(SaveArg<0>(&metadata_)); |
EXPECT_CALL(*this, OnBufferingStateChanged(BUFFERING_HAVE_ENOUGH)) |
- .Times(AtMost(1)); |
+ .Times(AnyNumber()); |
+ EXPECT_CALL(*this, OnBufferingStateChanged(BUFFERING_HAVE_NOTHING)) |
+ .Times(AnyNumber()); |
EXPECT_CALL(*this, DecryptorAttached(true)); |
// Encrypted content used but keys provided in advance, so this is |