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 b3e9745fed227a7ff3dc4f9900b96bb97c47f51b..c5afabfd3b9654445fa85787257435f4fd95dc11 100644 |
--- a/third_party/WebKit/public/platform/WebTaskRunner.h |
+++ b/third_party/WebKit/public/platform/WebTaskRunner.h |
@@ -39,6 +39,9 @@ public: |
// Takes ownership of |Task|. Can be called from any thread. |
virtual void postDelayedTask(const WebTraceLocation&, Task*, double delayMs) {} |
+ // Returns a clone of the WebTaskRunner. |
+ virtual WebTaskRunner* clone() { return nullptr; } |
Sami
2015/09/29 11:22:47
nit: I think these can be pure virtual now that we
alex clarke (OOO till 29th)
2015/09/29 16:10:36
Done.
|
+ |
#ifdef INSIDE_BLINK |
// Helpers for posting bound functions as tasks. |
typedef Function<void()> ClosureTask; |