1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

LibWeb: Remove Intrinsics::cached_web_prototype

It's now unused, and won't be safe to use once Web constructors and
prototypes are lazily created.
This commit is contained in:
Timothy Flynn 2023-01-10 07:03:26 -05:00 committed by Andreas Kling
parent c2939d58c7
commit 3deb8e322f
2 changed files with 0 additions and 17 deletions

View file

@ -25,8 +25,6 @@ public:
{
}
JS::Object& cached_web_prototype(DeprecatedString const& class_name);
template<typename PrototypeType>
JS::Object& ensure_web_prototype(DeprecatedString const& class_name)
{
@ -75,9 +73,4 @@ template<typename T>
return host_defined_intrinsics(realm).ensure_web_constructor<T>(class_name);
}
[[nodiscard]] inline JS::Object& cached_web_prototype(JS::Realm& realm, DeprecatedString const& class_name)
{
return host_defined_intrinsics(realm).cached_web_prototype(class_name);
}
}