LibWeb: Port Intrinsics from DeprecatedString

This commit is contained in:
Shannon Booth 2023-11-22 12:55:21 +13:00 committed by Tim Flynn
commit 96af80acd1
Notes: sideshowbarker 2024-07-16 23:44:30 +09:00
279 changed files with 305 additions and 304 deletions

View file

@ -40,7 +40,7 @@ HTMLCanvasElement::~HTMLCanvasElement() = default;
void HTMLCanvasElement::initialize(JS::Realm& realm)
{
Base::initialize(realm);
set_prototype(&Bindings::ensure_web_prototype<Bindings::HTMLCanvasElementPrototype>(realm, "HTMLCanvasElement"));
set_prototype(&Bindings::ensure_web_prototype<Bindings::HTMLCanvasElementPrototype>(realm, "HTMLCanvasElement"_fly_string));
}
void HTMLCanvasElement::visit_edges(Cell::Visitor& visitor)