Index: trunk/src/media/base/pipeline_unittest.cc |
=================================================================== |
--- trunk/src/media/base/pipeline_unittest.cc (revision 212951) |
+++ trunk/src/media/base/pipeline_unittest.cc (working copy) |
@@ -689,14 +689,14 @@ |
CHECK(message_loop); |
// When we get to this stage, the message loop should be empty. |
- EXPECT_TRUE(message_loop->IsIdleForTesting()); |
+ message_loop->AssertIdle(); |
// Make calls on pipeline after error has occurred. |
pipeline->SetPlaybackRate(0.5f); |
pipeline->SetVolume(0.5f); |
// No additional tasks should be queued as a result of these calls. |
- EXPECT_TRUE(message_loop->IsIdleForTesting()); |
+ message_loop->AssertIdle(); |
} |
TEST_F(PipelineTest, NoMessageDuringTearDownFromError) { |