Index: src/d8-readline.cc |
diff --git a/src/d8-readline.cc b/src/d8-readline.cc |
index cb59f6ef1333aefed52642b85d29f0fbf31243fc..225c6f06a222a1cfe8ac01c9c68b9cde9344406d 100644 |
--- a/src/d8-readline.cc |
+++ b/src/d8-readline.cc |
@@ -83,7 +83,7 @@ bool ReadLineEditor::Close() { |
Handle<String> ReadLineEditor::Prompt(const char* prompt) { |
char* result = NULL; |
{ // Release lock for blocking input. |
- Unlocker unlock(Isolate::GetCurrent()); |
+ Unlocker unlock(isolate_); |
result = readline(prompt); |
} |
if (result == NULL) return Handle<String>(); |