mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibWeb: Do not use JS::Handle for TimerHandler
There is no need to use JS::Handle for timer handler because it is visited from JS::HeapFunction in HTML::Timer.
This commit is contained in:
parent
3a1f617fbf
commit
e7a3040c9f
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
|||
namespace Web::HTML {
|
||||
|
||||
// https://html.spec.whatwg.org/#timerhandler
|
||||
using TimerHandler = Variant<JS::Handle<WebIDL::CallbackType>, String>;
|
||||
using TimerHandler = Variant<JS::NonnullGCPtr<WebIDL::CallbackType>, String>;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope
|
||||
class WindowOrWorkerGlobalScopeMixin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue