summaryrefslogtreecommitdiff
path: root/deps/v8/src/d8-posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/d8-posix.cc')
-rw-r--r--deps/v8/src/d8-posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/d8-posix.cc b/deps/v8/src/d8-posix.cc
index 8a278e4e42..1be782a241 100644
--- a/deps/v8/src/d8-posix.cc
+++ b/deps/v8/src/d8-posix.cc
@@ -449,7 +449,7 @@ static bool WaitForChild(int pid,
// Implementation of the system() function (see d8.h for details).
Handle<Value> Shell::System(const Arguments& args) {
- HandleScope scope;
+ HandleScope scope(args.GetIsolate());
int read_timeout = -1;
int total_timeout = -1;
if (!GetTimeouts(args, &read_timeout, &total_timeout)) return v8::Undefined();