diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-07 23:08:26 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-03-08 00:30:30 +0100 |
commit | 1422bd45ebda117238c452b4cf2ba7d1b54ce453 (patch) | |
tree | c35ff8fb4ffb1c36ff0e17f5b27c4c89189fad76 /Userland/Libraries/LibWeb/HTML/Parser | |
parent | 2dfb617c5bf5557052a4fded2cc37ab8574a5e93 (diff) | |
download | serenity-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/Parser')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp b/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp index 351059e361..091c252356 100644 --- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp +++ b/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp @@ -16,7 +16,6 @@ #include <LibWeb/DOM/Event.h> #include <LibWeb/DOM/ProcessingInstruction.h> #include <LibWeb/DOM/Text.h> -#include <LibWeb/DOM/Window.h> #include <LibWeb/HTML/EventLoop/EventLoop.h> #include <LibWeb/HTML/EventNames.h> #include <LibWeb/HTML/HTMLFormElement.h> @@ -27,6 +26,7 @@ #include <LibWeb/HTML/Parser/HTMLEncodingDetection.h> #include <LibWeb/HTML/Parser/HTMLParser.h> #include <LibWeb/HTML/Parser/HTMLToken.h> +#include <LibWeb/HTML/Window.h> #include <LibWeb/Namespace.h> #include <LibWeb/SVG/TagNames.h> @@ -276,7 +276,7 @@ void HTMLParser::the_end() return; // 3. Let window be the Document's relevant global object. - NonnullRefPtr<DOM::Window> window = document->window(); + NonnullRefPtr<Window> window = document->window(); // FIXME: 4. Set the Document's load timing info's load event start time to the current high resolution time given window. |