Index: third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_impl.h |
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_impl.h b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_impl.h |
index 81de9f449d6ef5c4e5ddb48ba776da5292be1ccd..b8308a7edd6256c887b8ce9e0b45e15f78e8f18d 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_impl.h |
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_impl.h |
@@ -7,6 +7,7 @@ |
#include <memory> |
+#include "base/callback.h" |
#include "base/macros.h" |
#include "base/message_loop/message_loop.h" |
#include "base/time/tick_clock.h" |
@@ -28,10 +29,10 @@ class BLINK_PLATFORM_EXPORT SchedulerTqmDelegateImpl |
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; |