summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Inspector/RemoteObjectGraphModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/Inspector/RemoteObjectGraphModel.h')
-rw-r--r--Userland/DevTools/Inspector/RemoteObjectGraphModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/Inspector/RemoteObjectGraphModel.h b/Userland/DevTools/Inspector/RemoteObjectGraphModel.h
index ae8986e753..dd2aec7948 100644
--- a/Userland/DevTools/Inspector/RemoteObjectGraphModel.h
+++ b/Userland/DevTools/Inspector/RemoteObjectGraphModel.h
@@ -20,7 +20,7 @@ class RemoteObjectGraphModel final : public GUI::Model {
public:
static NonnullRefPtr<RemoteObjectGraphModel> create(RemoteProcess& process)
{
- return adopt(*new RemoteObjectGraphModel(process));
+ return adopt_ref(*new RemoteObjectGraphModel(process));
}
virtual ~RemoteObjectGraphModel() override;