mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibJS: Replace GlobalObject with VM in Promise AOs [Part 8/19]
This commit is contained in:
parent
ccdfa2320c
commit
d74f8039eb
Notes:
sideshowbarker
2024-07-17 08:00:27 +09:00
Author: https://github.com/linusg
Commit: d74f8039eb
Pull-request: https://github.com/SerenityOS/serenity/pull/14973
Reviewed-by: https://github.com/davidot ✅
19 changed files with 151 additions and 137 deletions
|
@ -51,8 +51,8 @@ VM::VM(OwnPtr<CustomData> custom_data)
|
|||
promise_rejection_tracker(promise, operation);
|
||||
};
|
||||
|
||||
host_call_job_callback = [](GlobalObject& global_object, JobCallback& job_callback, Value this_value, MarkedVector<Value> arguments) {
|
||||
return call_job_callback(global_object, job_callback, this_value, move(arguments));
|
||||
host_call_job_callback = [this](JobCallback& job_callback, Value this_value, MarkedVector<Value> arguments) {
|
||||
return call_job_callback(*this, job_callback, this_value, move(arguments));
|
||||
};
|
||||
|
||||
host_enqueue_finalization_registry_cleanup_job = [this](FinalizationRegistry& finalization_registry) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue