1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00
serenity/Userland/Libraries/LibWeb/Bindings/PlatformObject.cpp
Andreas Kling f6c61940f6 LibWeb: Add PlatformObject class
This represents the "platform object" concept from the IDL spec, which
refers to an object that implements an IDL interface.
2022-09-06 00:27:09 +02:00

18 lines
319 B
C++

/*
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/PlatformObject.h>
namespace Web::Bindings {
PlatformObject::PlatformObject(JS::Object& prototype)
: JS::Object(prototype)
{
}
PlatformObject::~PlatformObject() = default;
}