mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Port Intrinsics from DeprecatedString
This commit is contained in:
Notes:
sideshowbarker
2024-07-16 23:44:30 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/96af80acd1 Pull-request: https://github.com/SerenityOS/serenity/pull/22057 Reviewed-by: https://github.com/trflynn89
@@ -21,7 +21,7 @@ HTMLPictureElement::~HTMLPictureElement() = default;
|
||||
void HTMLPictureElement::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::HTMLPictureElementPrototype>(realm, "HTMLPictureElement"));
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::HTMLPictureElementPrototype>(realm, "HTMLPictureElement"_fly_string));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user