Index: src/v8threads.h |
diff --git a/src/v8threads.h b/src/v8threads.h |
index b8ed817406956333de5c398e2ebe4c3a426c6abe..1edacfc3bb7c2b5cda4564d04638d2f0b8abe8e8 100644 |
--- a/src/v8threads.h |
+++ b/src/v8threads.h |
@@ -146,10 +146,10 @@ class ThreadManager { |
class ContextSwitcher: public Thread { |
public: |
// Set the preemption interval for the ContextSwitcher thread. |
- static void StartPreemption(int every_n_ms); |
+ static void StartPreemption(Isolate* isolate, int every_n_ms); |
// Stop sending preemption requests to threads. |
- static void StopPreemption(); |
+ static void StopPreemption(Isolate* isolate); |
// Preempted thread needs to call back to the ContextSwitcher to acknowledge |
// the handling of a preemption request. |