mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibWeb: Port Intrinsics from DeprecatedString
This commit is contained in:
parent
9cd36839d2
commit
96af80acd1
279 changed files with 305 additions and 304 deletions
|
@ -84,7 +84,7 @@ AudioContext::~AudioContext() = default;
|
|||
void AudioContext::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::AudioContextPrototype>(realm, "AudioContext"));
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::AudioContextPrototype>(realm, "AudioContext"_fly_string));
|
||||
}
|
||||
|
||||
void AudioContext::visit_edges(Cell::Visitor& visitor)
|
||||
|
|
|
@ -20,7 +20,7 @@ BaseAudioContext::~BaseAudioContext() = default;
|
|||
void BaseAudioContext::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::BaseAudioContextPrototype>(realm, "BaseAudioContext"));
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::BaseAudioContextPrototype>(realm, "BaseAudioContext"_fly_string));
|
||||
}
|
||||
|
||||
void BaseAudioContext::set_onstatechange(WebIDL::CallbackType* event_handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue