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

@ -101,7 +101,7 @@ FlyString const& PerformanceMark::entry_type() const
void PerformanceMark::initialize(JS::Realm& realm)
{
Base::initialize(realm);
set_prototype(&Bindings::ensure_web_prototype<Bindings::PerformanceMarkPrototype>(realm, "PerformanceMark"));
set_prototype(&Bindings::ensure_web_prototype<Bindings::PerformanceMarkPrototype>(realm, "PerformanceMark"_fly_string));
}
void PerformanceMark::visit_edges(JS::Cell::Visitor& visitor)

View file

@ -39,7 +39,7 @@ FlyString const& PerformanceMeasure::entry_type() const
void PerformanceMeasure::initialize(JS::Realm& realm)
{
Base::initialize(realm);
set_prototype(&Bindings::ensure_web_prototype<Bindings::PerformanceMeasurePrototype>(realm, "PerformanceMeasure"));
set_prototype(&Bindings::ensure_web_prototype<Bindings::PerformanceMeasurePrototype>(realm, "PerformanceMeasure"_fly_string));
}
void PerformanceMeasure::visit_edges(JS::Cell::Visitor& visitor)