Index: src/d8-readline.cc |
=================================================================== |
--- src/d8-readline.cc (revision 1525) |
+++ src/d8-readline.cc (working copy) |
@@ -103,7 +103,7 @@ |
static unsigned current_index; |
static Persistent<Array> current_completions; |
if (state == 0) { |
- i::SmartPointer<char> full_text(i::OS::StrNDup(rl_line_buffer, rl_point)); |
+ i::SmartPointer<char> full_text(i::StrNDup(rl_line_buffer, rl_point)); |
HandleScope scope; |
Handle<Array> completions = |
Shell::GetCompletions(String::New(text), String::New(*full_text)); |