
Resulting in a massive rename across almost everywhere! Alongside the namespace change, we now have the following names: * JS::NonnullGCPtr -> GC::Ref * JS::GCPtr -> GC::Ptr * JS::HeapFunction -> GC::Function * JS::CellImpl -> GC::Cell * JS::Handle -> GC::Root
27 lines
585 B
C++
27 lines
585 B
C++
/*
|
|
* Copyright (c) 2021, Andreas Kling <andreas@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/Bindings/PerformanceTimingPrototype.h>
|
|
#include <LibWeb/NavigationTiming/PerformanceTiming.h>
|
|
|
|
namespace Web::NavigationTiming {
|
|
|
|
GC_DEFINE_ALLOCATOR(PerformanceTiming);
|
|
|
|
PerformanceTiming::PerformanceTiming(JS::Realm& realm)
|
|
: PlatformObject(realm)
|
|
{
|
|
}
|
|
|
|
PerformanceTiming::~PerformanceTiming() = default;
|
|
|
|
void PerformanceTiming::initialize(JS::Realm& realm)
|
|
{
|
|
Base::initialize(realm);
|
|
WEB_SET_PROTOTYPE_FOR_INTERFACE(PerformanceTiming);
|
|
}
|
|
|
|
}
|