diff options
Diffstat (limited to 'Libraries/LibWeb/DOM/Document.cpp')
-rw-r--r-- | Libraries/LibWeb/DOM/Document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/DOM/Document.cpp b/Libraries/LibWeb/DOM/Document.cpp index 5f6a29fdd6..34ea160b00 100644 --- a/Libraries/LibWeb/DOM/Document.cpp +++ b/Libraries/LibWeb/DOM/Document.cpp @@ -127,9 +127,9 @@ void Document::fixup() this->append_child(html); } -const HTML::HTMLHtmlElement* Document::document_element() const +const Element* Document::document_element() const { - return first_child_of_type<HTML::HTMLHtmlElement>(); + return first_child_of_type<Element>(); } const HTML::HTMLHeadElement* Document::head() const |