mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Define HTML::perform_a_microtask_checkpoint()
This was declared and not defined.
This commit is contained in:
committed by
Andreas Kling
parent
67357fe984
commit
c1649e3372
@@ -251,6 +251,11 @@ void queue_a_microtask(DOM::Document* document, Function<void()> steps)
|
||||
event_loop.microtask_queue().enqueue(move(microtask));
|
||||
}
|
||||
|
||||
void perform_a_microtask_checkpoint()
|
||||
{
|
||||
main_thread_event_loop().perform_a_microtask_checkpoint();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/#perform-a-microtask-checkpoint
|
||||
void EventLoop::perform_a_microtask_checkpoint()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user