Index: third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h |
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h |
index 6b388cb492cabc5a9006d86c1dadacf7ae51223b..445d7aaf7ea470a775fac8f026b37f93d76a442e 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h |
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h |
@@ -7,6 +7,7 @@ |
#include <memory> |
+#include "base/callback.h" |
#include "base/macros.h" |
#include "base/test/simple_test_tick_clock.h" |
#include "platform/scheduler/child/scheduler_tqm_delegate.h" |
@@ -27,10 +28,10 @@ class SchedulerTqmDelegateForTest : public SchedulerTqmDelegate { |
scoped_refptr<base::SingleThreadTaskRunner> task_runner) override; |
void RestoreDefaultTaskRunner() override; |
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; |