LibWeb: Add stub definition for WorkletGlobalScope

This commit is contained in:
Shannon Booth 2024-11-30 19:27:53 +13:00 committed by Andreas Kling
commit b39f4f0b5a
Notes: github-actions[bot] 2024-11-30 10:20:24 +00:00
5 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,20 @@
/*
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/HTML/WorkletGlobalScope.h>
namespace Web::HTML {
GC_DEFINE_ALLOCATOR(WorkletGlobalScope);
WorkletGlobalScope::WorkletGlobalScope(JS::Realm& realm)
: PlatformObject(realm)
{
}
WorkletGlobalScope::~WorkletGlobalScope() = default;
}