LibWeb: Port Intrinsics from DeprecatedString

This commit is contained in:
Shannon Booth
2023-11-22 12:55:21 +13:00
committed by Tim Flynn
parent 9cd36839d2
commit 96af80acd1
279 changed files with 305 additions and 304 deletions

View File

@@ -24,7 +24,7 @@ ShadowRoot::ShadowRoot(Document& document, Element& host, Bindings::ShadowRootMo
void ShadowRoot::initialize(JS::Realm& realm)
{
Base::initialize(realm);
set_prototype(&Bindings::ensure_web_prototype<Bindings::ShadowRootPrototype>(realm, "ShadowRoot"));
set_prototype(&Bindings::ensure_web_prototype<Bindings::ShadowRootPrototype>(realm, "ShadowRoot"_fly_string));
}
// https://dom.spec.whatwg.org/#ref-for-get-the-parent%E2%91%A6