summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/jingle_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/jingle_glue/jingle_thread.cc')
-rw-r--r--remoting/jingle_glue/jingle_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/jingle_glue/jingle_thread.cc b/remoting/jingle_glue/jingle_thread.cc
index 1999506..d31857e 100644
--- a/remoting/jingle_glue/jingle_thread.cc
+++ b/remoting/jingle_glue/jingle_thread.cc
@@ -171,7 +171,7 @@ void JingleThread::Run() {
}
void JingleThread::Stop() {
- message_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
stopped_event_.Wait();
// This will wait until the thread is actually finished.