Procházet zdrojové kódy

LibWeb: Use public inheritance for the RefCounted base class

I forgot about this in the previous commit, which caused a compile
error.
Daniel Bertalan před 3 roky
rodič
revize
f3923b4aea

+ 1 - 1
Userland/Libraries/LibWeb/DOM/DOMEventListener.h

@@ -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();