mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
LibJS+LibWeb: Remove remaining use and reference to SafeFunction
This commit is contained in:
parent
716e86f042
commit
797b0d0f43
Notes:
github-actions[bot]
2024-10-30 19:56:42 +00:00
Author: https://github.com/shannonbooth
Commit: 797b0d0f43
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2062
Reviewed-by: https://github.com/kalenikaliaksandr ✅
26 changed files with 10 additions and 335 deletions
|
@ -2014,7 +2014,7 @@ void Element::enqueue_an_element_on_the_appropriate_element_queue()
|
|||
reactions_stack.processing_the_backup_element_queue = true;
|
||||
|
||||
// 4. Queue a microtask to perform the following steps:
|
||||
// NOTE: `this` is protected by JS::SafeFunction
|
||||
// NOTE: `this` is protected by JS::HeapFunction
|
||||
HTML::queue_a_microtask(&document(), JS::create_heap_function(relevant_agent.heap(), [this]() {
|
||||
auto& relevant_agent = HTML::relevant_agent(*this);
|
||||
auto* custom_data = verify_cast<Bindings::WebEngineCustomData>(relevant_agent.custom_data());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue