diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/LayoutTreeModel.h')
-rw-r--r-- | Userland/Libraries/LibWeb/LayoutTreeModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/LayoutTreeModel.h b/Userland/Libraries/LibWeb/LayoutTreeModel.h index d7930c79ea..ec203227d2 100644 --- a/Userland/Libraries/LibWeb/LayoutTreeModel.h +++ b/Userland/Libraries/LibWeb/LayoutTreeModel.h @@ -15,7 +15,7 @@ class LayoutTreeModel final : public GUI::Model { public: static NonnullRefPtr<LayoutTreeModel> create(DOM::Document& document) { - return adopt(*new LayoutTreeModel(document)); + return adopt_ref(*new LayoutTreeModel(document)); } virtual ~LayoutTreeModel() override; |