summaryrefslogtreecommitdiff
path: root/Ladybird/EventLoopPluginQt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Ladybird/EventLoopPluginQt.h')
-rw-r--r--Ladybird/EventLoopPluginQt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ladybird/EventLoopPluginQt.h b/Ladybird/EventLoopPluginQt.h
index 1c3751fe98..db3c0300b9 100644
--- a/Ladybird/EventLoopPluginQt.h
+++ b/Ladybird/EventLoopPluginQt.h
@@ -15,8 +15,8 @@ public:
EventLoopPluginQt();
virtual ~EventLoopPluginQt() override;
- virtual void spin_until(Function<bool()> goal_condition) override;
- virtual void deferred_invoke(Function<void()>) override;
+ virtual void spin_until(JS::SafeFunction<bool()> goal_condition) override;
+ virtual void deferred_invoke(JS::SafeFunction<void()>) override;
virtual NonnullRefPtr<Web::Platform::Timer> create_timer() override;
virtual void quit() override;
};