| Index: content/public/test/frame_load_waiter.cc
|
| diff --git a/content/public/test/frame_load_waiter.cc b/content/public/test/frame_load_waiter.cc
|
| index c9cee107d590af0a88bde83e11038c0cb3de51b5..6da69afb8ca7ffb0829dc853cefae814d45b9a7d 100644
|
| --- a/content/public/test/frame_load_waiter.cc
|
| +++ b/content/public/test/frame_load_waiter.cc
|
| @@ -5,8 +5,7 @@
|
| #include "content/public/test/frame_load_waiter.h"
|
|
|
| #include "base/location.h"
|
| -#include "base/single_thread_task_runner.h"
|
| -#include "base/thread_task_runner_handle.h"
|
| +#include "base/message_loop/message_loop.h"
|
|
|
| namespace content {
|
|
|
| @@ -22,8 +21,7 @@ void FrameLoadWaiter::Wait() {
|
| void FrameLoadWaiter::DidFinishLoad() {
|
| // Post a task to quit instead of quitting directly, since the load completion
|
| // may trigger other IPCs that tests are expecting.
|
| - base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
|
| - run_loop_.QuitClosure());
|
| + base::MessageLoop::current()->PostTask(FROM_HERE, run_loop_.QuitClosure());
|
| }
|
|
|
| } // namespace content
|
|
|