summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/ShadowRoot.h
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/ShadowRoot.h
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/ShadowRoot.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/ShadowRoot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/ShadowRoot.h b/Userland/Libraries/LibWeb/DOM/ShadowRoot.h
index 800307c8b8..f15fe502fc 100644
--- a/Userland/Libraries/LibWeb/DOM/ShadowRoot.h
+++ b/Userland/Libraries/LibWeb/DOM/ShadowRoot.h
@@ -29,7 +29,7 @@ public:
String mode() const { return m_closed ? "closed" : "open"; }
String inner_html() const;
- ExceptionOr<void> set_inner_html(String const&);
+ WebIDL::ExceptionOr<void> set_inner_html(String const&);
private:
ShadowRoot(Document&, Element&);