summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/CloseEvent.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-03-07 23:08:26 +0100
committerLinus Groh <mail@linusgroh.de>2022-03-08 00:30:30 +0100
commit1422bd45ebda117238c452b4cf2ba7d1b54ce453 (patch)
treec35ff8fb4ffb1c36ff0e17f5b27c4c89189fad76 /Userland/Libraries/LibWeb/HTML/CloseEvent.h
parent2dfb617c5bf5557052a4fded2cc37ab8574a5e93 (diff)
downloadserenity-1422bd45ebda117238c452b4cf2ba7d1b54ce453.zip
LibWeb: Move Window from DOM directory & namespace to HTML
The Window object is part of the HTML spec. :^) https://html.spec.whatwg.org/multipage/window-object.html
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/CloseEvent.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/CloseEvent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/CloseEvent.h b/Userland/Libraries/LibWeb/HTML/CloseEvent.h
index 3b7c56f2f7..cff27b926c 100644
--- a/Userland/Libraries/LibWeb/HTML/CloseEvent.h
+++ b/Userland/Libraries/LibWeb/HTML/CloseEvent.h
@@ -37,7 +37,7 @@ public:
protected:
CloseEvent(FlyString const& event_name, CloseEventInit const& event_init)
- : Event(event_name, event_init)
+ : DOM::Event(event_name, event_init)
, m_was_clean(event_init.was_clean)
, m_code(event_init.code)
, m_reason(event_init.reason)