summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.cpp
blob: bcf97611962df4675b55ff2e005337ac989092da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <LibWeb/DOM/Window.h>
#include <LibWeb/NavigationTiming/PerformanceTiming.h>

namespace Web::NavigationTiming {

PerformanceTiming::PerformanceTiming(DOM::Window& window)
    : m_window(window)
{
}

PerformanceTiming::~PerformanceTiming()
{
}

void PerformanceTiming::ref()
{
    m_window.ref();
}

void PerformanceTiming::unref()
{
    m_window.unref();
}

}