Index: media/cast/test/skewed_single_thread_task_runner.h |
diff --git a/media/cast/test/skewed_single_thread_task_runner.h b/media/cast/test/skewed_single_thread_task_runner.h |
index 8d86f24e4c10b85472446ee4dc7894e4685502cc..3fd6bdc5464cb78b6140e54887bb784c56b935da 100644 |
--- a/media/cast/test/skewed_single_thread_task_runner.h |
+++ b/media/cast/test/skewed_single_thread_task_runner.h |
@@ -7,6 +7,7 @@ |
#include <map> |
+#include "base/callback.h" |
#include "base/macros.h" |
#include "base/single_thread_task_runner.h" |
#include "base/test/simple_test_tick_clock.h" |
@@ -30,14 +31,14 @@ class SkewedSingleThreadTaskRunner : public base::SingleThreadTaskRunner { |
// base::SingleThreadTaskRunner implementation. |
bool PostDelayedTask(const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) final; |
bool RunsTasksOnCurrentThread() const final; |
// This function is currently not used, and will return false. |
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) final; |
protected: |