| Index: content/browser/site_per_process_browsertest.cc
|
| diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
|
| index 12888a1f3ac67e11ce702be6bc2dc3ca16c4f8d7..7cb4a205252268c1e3ad694d231b9ca9253862c0 100644
|
| --- a/content/browser/site_per_process_browsertest.cc
|
| +++ b/content/browser/site_per_process_browsertest.cc
|
| @@ -8,8 +8,11 @@
|
| #include <vector>
|
|
|
| #include "base/command_line.h"
|
| +#include "base/location.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "content/browser/frame_host/cross_process_frame_connector.h"
|
| #include "content/browser/frame_host/frame_tree.h"
|
| #include "content/browser/frame_host/navigator.h"
|
| @@ -431,7 +434,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
|
| // TODO(lazyboy): Find a better way to avoid sleeping like this. See
|
| // http://crbug.com/405282 for details.
|
| base::RunLoop run_loop;
|
| - base::MessageLoop::current()->PostDelayedTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
|
| FROM_HERE, run_loop.QuitClosure(),
|
| base::TimeDelta::FromMilliseconds(10));
|
| run_loop.Run();
|
|
|