Index: third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h |
diff --git a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h |
index 192ec09c941f1ebf4b16f9f733ebeb3ea780124f..ce82ab2367d3be8e81788790da3d6e17b5baee54 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h |
+++ b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h |
@@ -25,7 +25,9 @@ class FakeWebTaskRunner : public WebTaskRunner { |
void setTime(double new_time); |
// WebTaskRunner implementation: |
- void postDelayedTask(const WebTraceLocation&, base::Closure, double) override; |
+ void postDelayedTask(const WebTraceLocation&, |
+ base::OnceClosure, |
+ double) override; |
bool runsTasksOnCurrentThread() override; |
double virtualTimeSeconds() const override; |
double monotonicallyIncreasingVirtualTimeSeconds() const override; |
@@ -33,7 +35,7 @@ class FakeWebTaskRunner : public WebTaskRunner { |
void runUntilIdle(); |
void advanceTimeAndRun(double delta_seconds); |
- std::deque<std::pair<base::Closure, double>> takePendingTasksForTesting(); |
+ std::deque<std::pair<base::OnceClosure, double>> takePendingTasksForTesting(); |
private: |
~FakeWebTaskRunner() override; |