Everywhere: Hoist the Libraries folder to the top-level

This commit is contained in:
Timothy Flynn
2024-11-09 12:25:08 -05:00
committed by Andreas Kling
parent 950e819ee7
commit 93712b24bf
4547 changed files with 104 additions and 113 deletions

View File

@@ -0,0 +1,28 @@
/*
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/Bindings/SourceBufferPrototype.h>
#include <LibWeb/MediaSourceExtensions/SourceBuffer.h>
namespace Web::MediaSourceExtensions {
JS_DEFINE_ALLOCATOR(SourceBuffer);
SourceBuffer::SourceBuffer(JS::Realm& realm)
: DOM::EventTarget(realm)
{
}
SourceBuffer::~SourceBuffer() = default;
void SourceBuffer::initialize(JS::Realm& realm)
{
Base::initialize(realm);
WEB_SET_PROTOTYPE_FOR_INTERFACE(SourceBuffer);
}
}