From 6479923c57d3e77ce7fab32f4c53afc385d298ae Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Mon, 24 Apr 2017 07:26:54 +0200 Subject: [PATCH] Use FromJust over ToChecked --- v8js_exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v8js_exceptions.cc b/v8js_exceptions.cc index d36de80..42fe7b1 100644 --- a/v8js_exceptions.cc +++ b/v8js_exceptions.cc @@ -72,7 +72,7 @@ void v8js_create_script_exception(zval *return_value, v8::Isolate *isolate, v8:: v8::Maybe end_col = tc_message->GetEndColumn(isolate->GetEnteredContext()); if (end_col.IsJust()) { - PHPV8_EXPROP(_long, JsEndColumn, end_col.ToChecked()); + PHPV8_EXPROP(_long, JsEndColumn, end_col.FromJust()); } spprintf(&message_string, 0, "%s:%d: %s", filename_string, linenum, exception_string);