summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Inspector/RemoteObject.cpp
blob: f4b0449143500b68ff9ef4519d671c46e98cfea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include "RemoteObject.h"
#include "RemoteObjectPropertyModel.h"

namespace Inspector {

RemoteObject::RemoteObject()
    : m_property_model(RemoteObjectPropertyModel::create(*this))
{
}

RemoteObjectPropertyModel& RemoteObject::property_model()
{
    m_property_model->invalidate();
    return *m_property_model;
}

}