summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Text.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-09-25 17:03:42 +0100
committerLinus Groh <mail@linusgroh.de>2022-09-25 19:13:31 +0100
commitad04d7ac9b88ecea572cf517f6e01ccf1e95073d (patch)
treeed33bb942b1bdef7163972425057435a7d8eeaf9 /Userland/Libraries/LibWeb/DOM/Text.cpp
parentc0eda779287d4b1305046164cd0a8ee5a5799e0b (diff)
downloadserenity-ad04d7ac9b88ecea572cf517f6e01ccf1e95073d.zip
LibWeb: Move ExceptionOr from DOM/ to WebIDL/
This is a concept fully defined in the Web IDL spec and doesn't belong in the DOM directory/namespace - not even DOMException, despite the name :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Text.cpp')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Text.cpp b/Userland/Libraries/LibWeb/DOM/Text.cpp
index 57398559e1..65bae6668e 100644
--- a/Userland/Libraries/LibWeb/DOM/Text.cpp
+++ b/Userland/Libraries/LibWeb/DOM/Text.cpp
@@ -43,7 +43,7 @@ void Text::set_owner_input_element(Badge<HTML::HTMLInputElement>, HTML::HTMLInpu
// https://dom.spec.whatwg.org/#dom-text-splittext
// https://dom.spec.whatwg.org/#concept-text-split
-ExceptionOr<JS::NonnullGCPtr<Text>> Text::split_text(size_t offset)
+WebIDL::ExceptionOr<JS::NonnullGCPtr<Text>> Text::split_text(size_t offset)
{
// 1. Let length be node’s length.
auto length = this->length();