Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.h |
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.h |
index 2e966443f19c8582ffe5b868c57fe5fa14a660d2..6ac74f8fce2e58d08e7e38b6d990189784cbda40 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.h |
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.h |
@@ -7,6 +7,7 @@ |
#include <memory> |
+#include "base/callback.h" |
#include "base/macros.h" |
#include "base/time/tick_clock.h" |
#include "platform/scheduler/base/task_queue_manager_delegate.h" |
@@ -22,10 +23,10 @@ class TaskQueueManagerDelegateForTest : public TaskQueueManagerDelegate { |
// NestableSingleThreadTaskRunner implementation |
bool PostDelayedTask(const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) override; |
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) override; |
bool RunsTasksOnCurrentThread() const override; |
bool IsNested() const override; |