Index: src/d8-debug.cc |
diff --git a/src/d8-debug.cc b/src/d8-debug.cc |
index de0faa8ae66f295b1e617bb01afc47a2c299fcc0..f044328ae1f2157bb7e12637723c1ddbc11db321 100644 |
--- a/src/d8-debug.cc |
+++ b/src/d8-debug.cc |
@@ -273,7 +273,7 @@ RemoteDebuggerEvent* RemoteDebugger::GetEvent() { |
void RemoteDebugger::HandleMessageReceived(char* message) { |
- Locker lock; |
+ Locker lock(v8::Isolate::GetCurrent()); |
HandleScope scope; |
// Print the event details. |
@@ -302,7 +302,7 @@ void RemoteDebugger::HandleMessageReceived(char* message) { |
void RemoteDebugger::HandleKeyboardCommand(char* command) { |
- Locker lock; |
+ Locker lock(v8::Isolate::GetCurrent()); |
HandleScope scope; |
// Convert the debugger command to a JSON debugger request. |