mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 15:28:55 +00:00
LibJS: Make Value::to_object() take a GlobalObject&
This commit is contained in:
parent
cd14ebb11f
commit
8d56e6103e
Notes:
sideshowbarker
2024-07-19 05:31:48 +09:00
Author: https://github.com/awesomekling
Commit: 8d56e6103e
28 changed files with 129 additions and 129 deletions
|
@ -37,7 +37,7 @@ namespace JS {
|
|||
|
||||
static ScriptFunction* 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 nullptr;
|
||||
if (!this_object->is_function()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue