diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Painting/CheckBoxPaintable.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Painting/CheckBoxPaintable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/CheckBoxPaintable.cpp b/Userland/Libraries/LibWeb/Painting/CheckBoxPaintable.cpp index 7ae96f64e5..fdfacfffd3 100644 --- a/Userland/Libraries/LibWeb/Painting/CheckBoxPaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/CheckBoxPaintable.cpp @@ -11,9 +11,9 @@ namespace Web::Painting { -NonnullOwnPtr<CheckBoxPaintable> CheckBoxPaintable::create(Layout::CheckBox const& layout_box) +NonnullRefPtr<CheckBoxPaintable> CheckBoxPaintable::create(Layout::CheckBox const& layout_box) { - return adopt_own(*new CheckBoxPaintable(layout_box)); + return adopt_ref(*new CheckBoxPaintable(layout_box)); } CheckBoxPaintable::CheckBoxPaintable(Layout::CheckBox const& layout_box) |