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