| Index: base/android/application_status_listener_unittest.cc
|
| diff --git a/base/android/application_status_listener_unittest.cc b/base/android/application_status_listener_unittest.cc
|
| index 1049628f5a3b6cb9584751a6154f2ac639ab0120..ce78bf9c8627f74250251619bd59a0768a402e49 100644
|
| --- a/base/android/application_status_listener_unittest.cc
|
| +++ b/base/android/application_status_listener_unittest.cc
|
| @@ -7,7 +7,7 @@
|
| #include "base/callback_forward.h"
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "base/message_loop/message_loop_proxy.h"
|
| +#include "base/message_loop/message_loop.h"
|
| #include "base/run_loop.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "base/threading/thread.h"
|
| @@ -49,9 +49,8 @@ class MultiThreadedTest {
|
| void Run() {
|
| // Start the thread and tell it to register for events.
|
| thread_.Start();
|
| - thread_.message_loop()
|
| - ->PostTask(FROM_HERE,
|
| - base::Bind(&MultiThreadedTest::RegisterThreadForEvents,
|
| + thread_.task_runner()->PostTask(
|
| + FROM_HERE, base::Bind(&MultiThreadedTest::RegisterThreadForEvents,
|
| base::Unretained(this)));
|
|
|
| // Wait for its completion.
|
|
|