mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
committed by
Andreas Kling
parent
950e819ee7
commit
93712b24bf
28
Libraries/LibWeb/MediaSourceExtensions/SourceBuffer.cpp
Normal file
28
Libraries/LibWeb/MediaSourceExtensions/SourceBuffer.cpp
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user