Index: src/d8-readline.cc |
diff --git a/src/d8-readline.cc b/src/d8-readline.cc |
index cc7a3a6ec4a3a22e9eac66475c0452dee19a39cd..5226364c649d80db3c5d2b8120f472af5932fbf7 100644 |
--- a/src/d8-readline.cc |
+++ b/src/d8-readline.cc |
@@ -154,7 +154,7 @@ char* ReadLineEditor::CompletionGenerator(const char* text, int state) { |
HandleScope scope; |
Local<String> full_text = String::New(rl_line_buffer, rl_point); |
Handle<Array> completions = |
- Shell::GetCompletions(String::New(text), full_text); |
+ Shell::GetCompletions(isolate, String::New(text), full_text); |
current_completions = Persistent<Array>::New(isolate, completions); |
current_index = 0; |
} |