summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/public/platform/WebTaskRunner.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/public/platform/WebTaskRunner.h')
-rw-r--r--third_party/WebKit/public/platform/WebTaskRunner.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/third_party/WebKit/public/platform/WebTaskRunner.h b/third_party/WebKit/public/platform/WebTaskRunner.h
index 6d12febc..4369ad9 100644
--- a/third_party/WebKit/public/platform/WebTaskRunner.h
+++ b/third_party/WebKit/public/platform/WebTaskRunner.h
@@ -28,14 +28,11 @@ public:
// Schedule a task to be run on the the associated WebThread.
// Takes ownership of |Task|. Can be called from any thread.
- virtual void postTask(const WebTraceLocation&, Task*) = 0;
+ virtual void postTask(const WebTraceLocation&, Task*) {}
// Schedule a task to be run after |delayMs| on the the associated WebThread.
// Takes ownership of |Task|. Can be called from any thread.
- virtual void postDelayedTask(const WebTraceLocation&, Task*, double delayMs) = 0;
-
- // Returns a clone of the WebTaskRunner.
- virtual WebTaskRunner* clone() = 0;
+ virtual void postDelayedTask(const WebTraceLocation&, Task*, double delayMs) {}
#ifdef INSIDE_BLINK
// Helpers for posting bound functions as tasks.