mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
LibCore+Ladybird: Don't force timer ids to be integer just to remap them
If we don't force event loop to fit timer id into integer, we can eliminate awkward IDAllocator inside EventLoopImplementations.
This commit is contained in:
parent
bed4af6fef
commit
b77996884e
10 changed files with 36 additions and 46 deletions
|
@ -169,7 +169,7 @@ protected:
|
|||
private:
|
||||
EventReceiver* m_parent { nullptr };
|
||||
ByteString m_name;
|
||||
int m_timer_id { 0 };
|
||||
intptr_t m_timer_id { 0 };
|
||||
Vector<NonnullRefPtr<EventReceiver>> m_children;
|
||||
Function<bool(Core::Event&)> m_event_filter;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue