| Index: third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
|
| index 2eb7f1122c8c35db353bcb1c52707d10be7f314f..6b5741da652c8bb5bb509edb6a8dc23571ff0fe0 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
|
| +++ b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
|
| @@ -19,9 +19,7 @@ class TaskQueue;
|
|
|
| class BLINK_PLATFORM_EXPORT WebTaskRunnerImpl : public WebTaskRunner {
|
| public:
|
| - explicit WebTaskRunnerImpl(scoped_refptr<TaskQueue> task_queue);
|
| -
|
| - ~WebTaskRunnerImpl() override;
|
| + static RefPtr<WebTaskRunnerImpl> create(scoped_refptr<TaskQueue> task_queue);
|
|
|
| // WebTaskRunner implementation:
|
| void postDelayedTask(const WebTraceLocation&,
|
| @@ -30,10 +28,12 @@ class BLINK_PLATFORM_EXPORT WebTaskRunnerImpl : public WebTaskRunner {
|
| bool runsTasksOnCurrentThread() override;
|
| double virtualTimeSeconds() const override;
|
| double monotonicallyIncreasingVirtualTimeSeconds() const override;
|
| - std::unique_ptr<WebTaskRunner> clone() override;
|
| base::SingleThreadTaskRunner* toSingleThreadTaskRunner() override;
|
|
|
| private:
|
| + explicit WebTaskRunnerImpl(scoped_refptr<TaskQueue> task_queue);
|
| + ~WebTaskRunnerImpl() override;
|
| +
|
| base::TimeTicks Now() const;
|
|
|
| scoped_refptr<TaskQueue> task_queue_;
|
|
|