Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_perftest.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_perftest.cc b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_perftest.cc |
index b059acc0d8fd45a64df64823cdd2ec519e763d7d..939b1d13c79b9f6ab51a7d31f61349f7c909288d 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_perftest.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_perftest.cc |
@@ -10,6 +10,7 @@ |
#include "base/memory/ptr_util.h" |
#include "base/run_loop.h" |
#include "base/threading/thread.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "base/time/default_tick_clock.h" |
#include "platform/scheduler/base/task_queue_impl.h" |
#include "platform/scheduler/base/task_queue_manager_delegate_for_test.h" |
@@ -40,7 +41,7 @@ class TaskQueueManagerPerfTest : public testing::Test { |
num_queues_ = num_queues; |
manager_ = base::MakeUnique<TaskQueueManager>( |
TaskQueueManagerDelegateForTest::Create( |
- base::MessageLoop::current()->task_runner(), |
+ base::ThreadTaskRunnerHandle::Get(), |
base::WrapUnique(new base::DefaultTickClock())), |
"fake.category", "fake.category", "fake.category.debug"); |
manager_->AddTaskTimeObserver(&test_task_time_observer_); |