Skip to content

Commit 6479923

Browse files
committed
Use FromJust over ToChecked
1 parent 096454f commit 6479923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v8js_exceptions.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void v8js_create_script_exception(zval *return_value, v8::Isolate *isolate, v8::
7272

7373
v8::Maybe<int> end_col = tc_message->GetEndColumn(isolate->GetEnteredContext());
7474
if (end_col.IsJust()) {
75-
PHPV8_EXPROP(_long, JsEndColumn, end_col.ToChecked());
75+
PHPV8_EXPROP(_long, JsEndColumn, end_col.FromJust());
7676
}
7777

7878
spprintf(&message_string, 0, "%s:%d: %s", filename_string, linenum, exception_string);

0 commit comments

Comments
 (0)