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

Unified Diff: jingle/glue/pseudotcp_adapter_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 | « no previous file | jingle/glue/thread_wrapper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/pseudotcp_adapter_unittest.cc
diff --git a/jingle/glue/pseudotcp_adapter_unittest.cc b/jingle/glue/pseudotcp_adapter_unittest.cc
index 6d803a51b38eca2dde92b864f88f8340397a80cd..d2da42b320292e6d439b44c54d7fa530baf54bd1 100644
--- a/jingle/glue/pseudotcp_adapter_unittest.cc
+++ b/jingle/glue/pseudotcp_adapter_unittest.cc
@@ -237,7 +237,7 @@ class TCPChannelTester : public base::RefCountedThreadSafe<TCPChannelTester> {
protected:
void Done() {
done_ = true;
- message_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
void DoStart() {
@@ -418,7 +418,7 @@ class DeleteOnConnected {
: message_loop_(message_loop), adapter_(adapter) {}
void OnConnected(int error) {
adapter_->reset();
- message_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
MessageLoop* message_loop_;
scoped_ptr<PseudoTcpAdapter>* adapter_;
« no previous file with comments | « no previous file | jingle/glue/thread_wrapper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698