mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +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/MediaSourceHandle.cpp
Normal file
28
Libraries/LibWeb/MediaSourceExtensions/MediaSourceHandle.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/MediaSourceHandlePrototype.h>
|
||||
#include <LibWeb/MediaSourceExtensions/MediaSourceHandle.h>
|
||||
|
||||
namespace Web::MediaSourceExtensions {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(MediaSourceHandle);
|
||||
|
||||
MediaSourceHandle::MediaSourceHandle(JS::Realm& realm)
|
||||
: Bindings::PlatformObject(realm)
|
||||
{
|
||||
}
|
||||
|
||||
MediaSourceHandle::~MediaSourceHandle() = default;
|
||||
|
||||
void MediaSourceHandle::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
WEB_SET_PROTOTYPE_FOR_INTERFACE(MediaSourceHandle);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user