diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Text.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Text.cpp b/Userland/Libraries/LibWeb/DOM/Text.cpp index 6e3755ce92..03bf69d26a 100644 --- a/Userland/Libraries/LibWeb/DOM/Text.cpp +++ b/Userland/Libraries/LibWeb/DOM/Text.cpp @@ -20,7 +20,7 @@ Text::~Text() RefPtr<Layout::Node> Text::create_layout_node() { - return adopt(*new Layout::TextNode(document(), *this)); + return adopt_ref(*new Layout::TextNode(document(), *this)); } } |