Index: public/platform/WebScheduler.h |
diff --git a/public/platform/WebScheduler.h b/public/platform/WebScheduler.h |
index 463d1300af735ada6a105b97c63716c5c66145e6..2e3760e6902a52b3b73ab3869448a639e9f6c8c5 100644 |
--- a/public/platform/WebScheduler.h |
+++ b/public/platform/WebScheduler.h |
@@ -18,6 +18,10 @@ class BLINK_PLATFORM_EXPORT WebScheduler { |
public: |
virtual ~WebScheduler() { } |
+ // Called to prevent any more pending tasks from running. Must be called on |
+ // the associated WebThread. |
+ virtual void shutdown() { } |
+ |
// Returns true if there is high priority work pending on the associated WebThread |
// and the caller should yield to let the scheduler service that work. |
// Must be called on the associated WebThread. |