mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibJS: Make Value::to_object() take a GlobalObject&
This commit is contained in:
@@ -51,7 +51,7 @@ Array::~Array()
|
||||
|
||||
Array* Array::typed_this(Interpreter& interpreter, GlobalObject& global_object)
|
||||
{
|
||||
auto* this_object = interpreter.this_value(global_object).to_object(interpreter);
|
||||
auto* this_object = interpreter.this_value(global_object).to_object(interpreter, global_object);
|
||||
if (!this_object)
|
||||
return {};
|
||||
if (!this_object->is_array()) {
|
||||
|
||||
Reference in New Issue
Block a user