mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
Userland: Rename Core::Object to Core::EventReceiver
This is a more precise description of what this class actually does.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
bdf696e488
commit
ddbe6bd7b4
@@ -126,7 +126,7 @@ void ThreadStackWidget::refresh()
|
||||
[weak_this = make_weak_ptr()](auto result) -> ErrorOr<void> {
|
||||
if (!weak_this)
|
||||
return {};
|
||||
Core::EventLoop::current().post_event(const_cast<Core::Object&>(*weak_this), make<CompletionEvent>(move(result)));
|
||||
Core::EventLoop::current().post_event(const_cast<Core::EventReceiver&>(*weak_this), make<CompletionEvent>(move(result)));
|
||||
return {};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user