Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 4e14cd5b0aa65f1607f3b2a9491f3970a4e95095..99be8613bef3255c36264131487aee13b2f901b0 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -982,7 +982,7 @@ Local<Context> Shell::CreateEvaluationContext(Isolate* isolate) { |
factory->NewFixedArray(js_args.argc); |
for (int j = 0; j < js_args.argc; j++) { |
i::Handle<i::String> arg = |
- factory->NewStringFromUtf8(i::CStrVector(js_args[j])); |
+ factory->NewStringFromUtf8(i::CStrVector(js_args[j])).ToHandleChecked(); |
arguments_array->set(j, *arg); |
} |
i::Handle<i::JSArray> arguments_jsarray = |