Chromium Code Reviews| 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(); |
|
Igor Sheludko
2014/04/17 12:59:03
Not sure about this place, can it fail here?
Yang
2014/04/17 13:00:15
Very unlikely I guess.
|
| arguments_array->set(j, *arg); |
| } |
| i::Handle<i::JSArray> arguments_jsarray = |