| Index: remoting/jingle_glue/jingle_thread.cc
|
| diff --git a/remoting/jingle_glue/jingle_thread.cc b/remoting/jingle_glue/jingle_thread.cc
|
| index 1999506a901bb531b118b5998f2959933d4a68f3..d31857ed20a1370a55445a81d8ca6b7af17842a2 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.
|
|
|