1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00

LibWeb: Move Origin into the HTML namespace

Origin is defined in the HTML Standard, and therefore belongs into the
HTML directory and namespace in LibWeb.
https://html.spec.whatwg.org/multipage/origin.html#origin
This commit is contained in:
Linus Groh 2022-07-12 20:37:43 +01:00
parent 1748362e05
commit 22a627fc1a
14 changed files with 23 additions and 21 deletions

View file

@ -41,10 +41,10 @@
#include <LibWeb/DOM/Event.h>
#include <LibWeb/HTML/BrowsingContext.h>
#include <LibWeb/HTML/EventHandler.h>
#include <LibWeb/HTML/Origin.h>
#include <LibWeb/HTML/Scripting/Environments.h>
#include <LibWeb/HTML/Storage.h>
#include <LibWeb/HTML/Window.h>
#include <LibWeb/Origin.h>
#include <LibWeb/Page/Page.h>
#include <LibWeb/WebAssembly/WebAssemblyObject.h>
@ -157,7 +157,7 @@ void WindowObject::visit_edges(Visitor& visitor)
visitor.visit(it.value);
}
Origin WindowObject::origin() const
HTML::Origin WindowObject::origin() const
{
return impl().associated_document().origin();
}