LibWeb: Use GCPtr in MediaQueryList

This commit is contained in:
Timothy Flynn 2024-11-13 08:16:24 -05:00 committed by Andreas Kling
commit 213155ad7d
Notes: github-actions[bot] 2024-11-13 14:00:16 +00:00
2 changed files with 4 additions and 4 deletions

View file

@ -26,8 +26,8 @@ public:
bool matches() const;
bool evaluate();
void add_listener(DOM::IDLEventListener*);
void remove_listener(DOM::IDLEventListener*);
void add_listener(JS::GCPtr<DOM::IDLEventListener>);
void remove_listener(JS::GCPtr<DOM::IDLEventListener>);
void set_onchange(WebIDL::CallbackType*);
WebIDL::CallbackType* onchange();