Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index c20e573e57714837f371fa9c81f38261d1c6f65f..6806ca6e665f4906f1af6b9cc2c30ca708201939 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -679,12 +679,14 @@ static void DummyDebugEventListener( |
const v8::Debug::EventDetails& event_details) {} |
-static inline void EnableDebugger() { |
- v8::Debug::SetDebugEventListener(&DummyDebugEventListener); |
+static inline void EnableDebugger(v8::Isolate* isolate) { |
+ v8::Debug::SetDebugEventListener(isolate, &DummyDebugEventListener); |
} |
-static inline void DisableDebugger() { v8::Debug::SetDebugEventListener(NULL); } |
+static inline void DisableDebugger(v8::Isolate* isolate) { |
+ v8::Debug::SetDebugEventListener(isolate, nullptr); |
+} |
static inline void EmptyMessageQueues(v8::Isolate* isolate) { |