1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 13:37:10 +09:00

CEventLoop: Use NonnullOwnPtr for QueuedEvent::event.

We don't allow null events in the event queue. :^)
This commit is contained in:
Andreas Kling 2019-07-24 08:38:00 +02:00
parent 28da5b002f
commit 3c5befde36
Notes: sideshowbarker 2024-07-19 13:04:41 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -148,7 +148,7 @@ void CEventLoop::pump(WaitMode mode)
}
}
void CEventLoop::post_event(CObject& receiver, OwnPtr<CEvent>&& event)
void CEventLoop::post_event(CObject& receiver, NonnullOwnPtr<CEvent>&& event)
{
LOCKER(m_lock);
#ifdef CEVENTLOOP_DEBUG