diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Painting/InlinePaintable.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Painting/InlinePaintable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/InlinePaintable.cpp b/Userland/Libraries/LibWeb/Painting/InlinePaintable.cpp index b40c033d2f..0ac55593d3 100644 --- a/Userland/Libraries/LibWeb/Painting/InlinePaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/InlinePaintable.cpp @@ -14,9 +14,9 @@ namespace Web::Painting { -NonnullOwnPtr<InlinePaintable> InlinePaintable::create(Layout::InlineNode const& layout_node) +NonnullRefPtr<InlinePaintable> InlinePaintable::create(Layout::InlineNode const& layout_node) { - return adopt_own(*new InlinePaintable(layout_node)); + return adopt_ref(*new InlinePaintable(layout_node)); } InlinePaintable::InlinePaintable(Layout::InlineNode const& layout_node) |