mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibJS: Make more Interpreter functions take a GlobalObject&
This commit is contained in:
parent
053863f35e
commit
5042e560ef
Notes:
sideshowbarker
2024-07-19 05:44:44 +09:00
Author: https://github.com/awesomekling
Commit: 5042e560ef
9 changed files with 47 additions and 47 deletions
|
@ -75,7 +75,7 @@ void HTMLScriptElement::children_changed()
|
|||
parser.print_errors();
|
||||
return;
|
||||
}
|
||||
document().interpreter().run(*program);
|
||||
document().interpreter().run(document().interpreter().global_object(), *program);
|
||||
}
|
||||
|
||||
void HTMLScriptElement::inserted_into(Node& new_parent)
|
||||
|
@ -112,7 +112,7 @@ void HTMLScriptElement::inserted_into(Node& new_parent)
|
|||
parser.print_errors();
|
||||
return;
|
||||
}
|
||||
document().interpreter().run(*program);
|
||||
document().interpreter().run(document().interpreter().global_object(), *program);
|
||||
}
|
||||
|
||||
void HTMLScriptElement::execute_script()
|
||||
|
@ -123,7 +123,7 @@ void HTMLScriptElement::execute_script()
|
|||
parser.print_errors();
|
||||
return;
|
||||
}
|
||||
document().interpreter().run(*program);
|
||||
document().interpreter().run(document().interpreter().global_object(), *program);
|
||||
}
|
||||
|
||||
void HTMLScriptElement::prepare_script(Badge<HTMLDocumentParser>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue