mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
LibWeb: Make HTML::Timer GC-allocated
These are the timers used internally by setTimeout() and setInterval().
This commit is contained in:
parent
c569c88e63
commit
c7ac82ec33
4 changed files with 26 additions and 11 deletions
|
@ -144,7 +144,7 @@ private:
|
|||
JS::GCPtr<DOM::Event> m_current_event;
|
||||
|
||||
IDAllocator m_timer_id_allocator;
|
||||
HashMap<int, NonnullRefPtr<Timer>> m_timers;
|
||||
HashMap<int, JS::NonnullGCPtr<Timer>> m_timers;
|
||||
|
||||
JS::GCPtr<HighResolutionTime::Performance> m_performance;
|
||||
NonnullRefPtr<Crypto::Crypto> m_crypto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue