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

Unified Diff: trunk/src/net/dns/serial_worker_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
« no previous file with comments | « trunk/src/net/dns/dns_transaction_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/dns/serial_worker_unittest.cc
===================================================================
--- trunk/src/net/dns/serial_worker_unittest.cc (revision 212951)
+++ trunk/src/net/dns/serial_worker_unittest.cc (working copy)
@@ -141,7 +141,7 @@
WaitForWork();
RunUntilBreak("OnWorkFinished");
- EXPECT_TRUE(message_loop_->IsIdleForTesting());
+ message_loop_->AssertIdle();
}
// Schedule two calls. OnWork checks if it is called serially.
@@ -154,7 +154,7 @@
RunUntilBreak("OnWorkFinished");
// No more tasks should remain.
- EXPECT_TRUE(message_loop_->IsIdleForTesting());
+ message_loop_->AssertIdle();
}
} // namespace
« no previous file with comments | « trunk/src/net/dns/dns_transaction_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698