summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/ListItemBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/ListItemBox.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/ListItemBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/ListItemBox.cpp b/Userland/Libraries/LibWeb/Layout/ListItemBox.cpp
index b524588de7..38c27373c6 100644
--- a/Userland/Libraries/LibWeb/Layout/ListItemBox.cpp
+++ b/Userland/Libraries/LibWeb/Layout/ListItemBox.cpp
@@ -31,7 +31,7 @@ void ListItemBox::layout_marker()
if (!m_marker) {
int child_index = parent()->index_of_child<ListItemBox>(*this).value();
- m_marker = adopt(*new ListItemMarkerBox(document(), computed_values().list_style_type(), child_index + 1));
+ m_marker = adopt_ref(*new ListItemMarkerBox(document(), computed_values().list_style_type(), child_index + 1));
if (first_child())
m_marker->set_inline(first_child()->is_inline());
append_child(*m_marker);