LibWeb: Use public inheritance for the RefCounted base class

I forgot about this in the previous commit, which caused a compile
error.
This commit is contained in:
Daniel Bertalan 2022-02-17 11:02:48 +01:00 committed by Andreas Kling
commit f3923b4aea
Notes: sideshowbarker 2024-07-17 18:38:35 +09:00

View file

@ -13,7 +13,7 @@ namespace Web::DOM {
// https://dom.spec.whatwg.org/#concept-event-listener
// NOTE: The spec calls this "event listener", and it's *importantly* not the same as "EventListener"
class DOMEventListener : RefCounted<DOMEventListener> {
class DOMEventListener : public RefCounted<DOMEventListener> {
public:
DOMEventListener();
~DOMEventListener();