Index: src/d8-posix.cc |
diff --git a/src/d8-posix.cc b/src/d8-posix.cc |
index dc60d0cc749d8a8766bbfc4450e1b1f4b45b7e9c..25f79a4be6b10323b7cce075c0a24317a6228fac 100644 |
--- a/src/d8-posix.cc |
+++ b/src/d8-posix.cc |
@@ -470,7 +470,7 @@ void Shell::System(const v8::FunctionCallbackInfo<v8::Value>& args) { |
} |
command_args = Handle<Array>::Cast(args[1]); |
} else { |
- command_args = Array::New(0); |
+ command_args = Array::New(args.GetIsolate(), 0); |
} |
if (command_args->Length() > ExecArgs::kMaxArgs) { |
args.GetIsolate()->ThrowException(String::NewFromUtf8( |