| Index: third_party/WebKit/public/platform/WebTaskRunner.h
|
| diff --git a/third_party/WebKit/public/platform/WebTaskRunner.h b/third_party/WebKit/public/platform/WebTaskRunner.h
|
| index 2b4086360e2e2420d470518e9e866d56e8b33dea..fc5959664f1d079bf79d34e1f56aa54a70be210e 100644
|
| --- a/third_party/WebKit/public/platform/WebTaskRunner.h
|
| +++ b/third_party/WebKit/public/platform/WebTaskRunner.h
|
| @@ -38,6 +38,10 @@ public:
|
| // Returns a clone of the WebTaskRunner.
|
| virtual WebTaskRunner* clone() = 0;
|
|
|
| + // Returns true if the current thread is a thread on which a task may be run.
|
| + // Can be called from any thread.
|
| + virtual bool runsTasksOnCurrentThread() = 0;
|
| +
|
| // ---
|
|
|
| // Headless Chrome virtualises time for determinism and performance (fast forwarding
|
|
|