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

Unified Diff: jingle/glue/thread_wrapper_unittest.cc

Issue 8885018: Removing MessageLoop::QuitTask() from jingle/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix escaping? Created 9 years 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 | « jingle/glue/pseudotcp_adapter_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/thread_wrapper_unittest.cc
diff --git a/jingle/glue/thread_wrapper_unittest.cc b/jingle/glue/thread_wrapper_unittest.cc
index 007bc9ffc5f484e3da389dc1a74db78407d49130..2fef6d3430258ef78c66d783832dff3a5c7fde31 100644
--- a/jingle/glue/thread_wrapper_unittest.cc
+++ b/jingle/glue/thread_wrapper_unittest.cc
@@ -147,7 +147,7 @@ TEST_F(ThreadWrapperTest, PostDelayed) {
MatchMessage(&handler2_, kTestMessage1, data4)))
.WillOnce(DeleteMessageData());
- message_loop_.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask(),
+ message_loop_.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
kMaxTestDelay);
message_loop_.Run();
}
@@ -197,7 +197,7 @@ TEST_F(ThreadWrapperTest, ClearDelayed) {
MatchMessage(&handler2_, kTestMessage1, null_data)))
.WillOnce(DeleteMessageData());
- message_loop_.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask(),
+ message_loop_.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
kMaxTestDelay);
message_loop_.Run();
}
« no previous file with comments | « jingle/glue/pseudotcp_adapter_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698