diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp index 6cddeab5f8..35f41979d1 100644 --- a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp +++ b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp @@ -51,7 +51,7 @@ EventLoop& main_thread_event_loop() } // https://html.spec.whatwg.org/multipage/webappapis.html#spin-the-event-loop -void EventLoop::spin_until(Function<bool()> goal_condition) +void EventLoop::spin_until(JS::SafeFunction<bool()> goal_condition) { // FIXME: 1. Let task be the event loop's currently running task. |