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 c1ec7e6cf97bf6e3529c56631cb8367bc0945bae..ef68b67bdeed2abac7f5301e70398adc44eb550e 100644 |
--- a/third_party/WebKit/public/platform/WebTaskRunner.h |
+++ b/third_party/WebKit/public/platform/WebTaskRunner.h |
@@ -90,6 +90,9 @@ class BLINK_PLATFORM_EXPORT WebTaskRunner { |
// Returns a clone of the WebTaskRunner. |
virtual std::unique_ptr<WebTaskRunner> clone() = 0; |
+ // Returns true if this is a clone of another WebTaskRunner. |
+ virtual bool isCloneOf(WebTaskRunner*) = 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; |