| Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
|
| index 209a86b239945e79c5a6e87cd06435cdc55accc1..8381157e847d6e1ff1add54fc5fd4e34ebde8da5 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
|
| +++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
|
| @@ -140,6 +140,11 @@ class BLINK_PLATFORM_EXPORT TaskQueueImpl final : public TaskQueue {
|
| const char* GetName() const override;
|
| QueueType GetQueueType() const override;
|
|
|
| + // Returns true if a (potentially hypothetical) task with the specified
|
| + // |enqueue_order| could run on the queue. Must be called from the main
|
| + // thread.
|
| + bool CouldTaskRun(EnqueueOrder enqueue_order) const;
|
| +
|
| // Must only be called from the thread this task queue was created on.
|
| void ReloadImmediateWorkQueueIfEmpty();
|
|
|
|
|