summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-07-12 20:37:43 +0100
committerLinus Groh <mail@linusgroh.de>2022-07-14 00:42:26 +0100
commit22a627fc1a694b21325aad32cdbb618fe4080253 (patch)
treef2885af75827c8809ab4b1d12135a9cd9a1ca8fc /Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
parent1748362e05a520986039f25968880260067bf5f7 (diff)
downloadserenity-22a627fc1a694b21325aad32cdbb618fe4080253.zip
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
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/WindowObject.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/WindowObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
index 39ff55157f..89ea8ed2df 100644
--- a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
+++ b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
@@ -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();
}