Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: trunk/src/media/base/pipeline_unittest.cc

Issue 19737005: Revert 212948 "Made MessagePump a non-thread safe class." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « trunk/src/chrome/browser/ui/cocoa/run_loop_testing.mm ('k') | trunk/src/net/dns/dns_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698