mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
LibJS: Make Value::to_object() take a GlobalObject&
This commit is contained in:
@@ -55,7 +55,7 @@ Uint8ClampedArray::~Uint8ClampedArray()
|
||||
|
||||
JS_DEFINE_NATIVE_GETTER(Uint8ClampedArray::length_getter)
|
||||
{
|
||||
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 (StringView(this_object->class_name()) != "Uint8ClampedArray")
|
||||
|
||||
Reference in New Issue
Block a user