mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:47:45 +00:00
LibJS: Remove Shape::global_object() and Object::global_object()
Same reason as in commit 275dea9
.
This commit is contained in:
parent
4f436bd323
commit
72730422bb
7 changed files with 3 additions and 16 deletions
|
@ -129,7 +129,7 @@ JS::Completion invoke_callback(Bindings::CallbackType& callback, Optional<JS::Va
|
|||
auto* function_object = callback.callback.cell();
|
||||
VERIFY(function_object);
|
||||
|
||||
JS::MarkedVector<JS::Value> arguments_list { function_object->global_object().heap() };
|
||||
JS::MarkedVector<JS::Value> arguments_list { function_object->vm().heap() };
|
||||
(arguments_list.append(forward<Args>(args)), ...);
|
||||
|
||||
return invoke_callback(callback, move(this_argument), move(arguments_list));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue