summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/ConsoleWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Browser/ConsoleWidget.cpp')
-rw-r--r--Userland/Applications/Browser/ConsoleWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/ConsoleWidget.cpp b/Userland/Applications/Browser/ConsoleWidget.cpp
index 69b32ca309..1b69c858f5 100644
--- a/Userland/Applications/Browser/ConsoleWidget.cpp
+++ b/Userland/Applications/Browser/ConsoleWidget.cpp
@@ -30,7 +30,7 @@ ConsoleWidget::ConsoleWidget()
set_fill_with_background_color(true);
auto base_document = Web::DOM::Document::create();
- base_document->append_child(adopt(*new Web::DOM::DocumentType(base_document)));
+ base_document->append_child(adopt_ref(*new Web::DOM::DocumentType(base_document)));
auto html_element = base_document->create_element("html");
base_document->append_child(html_element);
auto head_element = base_document->create_element("head");