Commit 15aee175 authored by Hajime Hoshi's avatar Hajime Hoshi Committed by Commit Bot

Remove one ExecutionTask constructor

There is no usage of the constructor.

Change-Id: I23cfe086745d2d6b395ee4a6e29c64304504a1d4
Reviewed-on: https://chromium-review.googlesource.com/1118075Reviewed-by: default avatarAlexander Timin <altimin@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#571093}
parent d1ac4199
...@@ -177,11 +177,6 @@ class PLATFORM_EXPORT TaskQueueManagerImpl ...@@ -177,11 +177,6 @@ class PLATFORM_EXPORT TaskQueueManagerImpl
// selector interface is unaware of those. This struct keeps track off all // selector interface is unaware of those. This struct keeps track off all
// task related state needed to make pairs of TakeTask() / DidRunTask() work. // task related state needed to make pairs of TakeTask() / DidRunTask() work.
struct ExecutingTask { struct ExecutingTask {
ExecutingTask()
: pending_task(TaskQueue::PostedTask(OnceClosure(), Location()),
TimeTicks(),
internal::EnqueueOrder()) {}
ExecutingTask(internal::TaskQueueImpl::Task&& pending_task, ExecutingTask(internal::TaskQueueImpl::Task&& pending_task,
internal::TaskQueueImpl* task_queue) internal::TaskQueueImpl* task_queue)
: pending_task(std::move(pending_task)), task_queue(task_queue) {} : pending_task(std::move(pending_task)), task_queue(task_queue) {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment