mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibWeb: Port Intrinsics from DeprecatedString
This commit is contained in:
@@ -55,7 +55,7 @@ void HTMLImageElement::finalize()
|
||||
void HTMLImageElement::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::HTMLImageElementPrototype>(realm, "HTMLImageElement"));
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::HTMLImageElementPrototype>(realm, "HTMLImageElement"_fly_string));
|
||||
|
||||
m_current_request = ImageRequest::create(realm, *document().page());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user