Revision f230a1cf deps/v8/src/d8-readline.cc

View differences:

deps/v8/src/d8-readline.cc
150 150
  static Persistent<Array> current_completions;
151 151
  Isolate* isolate = read_line_editor.isolate_;
152 152
  Locker lock(isolate);
153
  HandleScope scope;
153
  HandleScope scope(isolate);
154 154
  Handle<Array> completions;
155 155
  if (state == 0) {
156 156
    Local<String> full_text = String::New(rl_line_buffer, rl_point);
......
167 167
    String::Utf8Value str(str_obj);
168 168
    return strdup(*str);
169 169
  } else {
170
    current_completions.Dispose(isolate);
171
    current_completions.Clear();
170
    current_completions.Reset();
172 171
    return NULL;
173 172
  }
174 173
}

Also available in: Unified diff