mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
LibJS+LibWeb: Normalize calls to Base::visit_edges in GC objects
This commit is contained in:
parent
98ed74087f
commit
82eeee2008
17 changed files with 20 additions and 15 deletions
|
@ -14,6 +14,8 @@
|
|||
namespace Web::HTML {
|
||||
|
||||
class EventHandler final : public JS::Cell {
|
||||
JS_CELL(EventHandler, JS::Cell);
|
||||
|
||||
public:
|
||||
explicit EventHandler(DeprecatedString);
|
||||
explicit EventHandler(WebIDL::CallbackType&);
|
||||
|
@ -29,7 +31,6 @@ public:
|
|||
JS::GCPtr<DOM::DOMEventListener> listener;
|
||||
|
||||
private:
|
||||
virtual StringView class_name() const override { return "EventHandler"sv; }
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue