LibWeb: Fix some FIXMEs related to ExceptionOr<T>

This fixes a few FIXMEs mentioned in 5beacf08a2,
which depended on #6075 being fixed.
This commit is contained in:
AnotherTest 2021-04-13 23:03:48 +04:30 committed by Andreas Kling
commit 9c201767a0
Notes: sideshowbarker 2024-07-18 20:24:30 +09:00
4 changed files with 16 additions and 24 deletions

View file

@ -189,7 +189,7 @@ public:
void set_quirks_mode(QuirksMode mode) { m_quirks_mode = mode; }
void adopt_node(Node&);
NonnullRefPtr<Node> adopt_node_binding(NonnullRefPtr<Node>);
ExceptionOr<NonnullRefPtr<Node>> adopt_node_binding(NonnullRefPtr<Node>);
const DocumentType* doctype() const;
const String& compat_mode() const;