mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:18:11 +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:
parent
c2939d58c7
commit
3deb8e322f
2 changed files with 0 additions and 17 deletions
|
@ -13,16 +13,6 @@
|
|||
|
||||
namespace Web::Bindings {
|
||||
|
||||
JS::Object& Intrinsics::cached_web_prototype(DeprecatedString const& class_name)
|
||||
{
|
||||
auto it = m_prototypes.find(class_name);
|
||||
if (it == m_prototypes.end()) {
|
||||
dbgln("Missing prototype: {}", class_name);
|
||||
}
|
||||
VERIFY(it != m_prototypes.end());
|
||||
return *it->value;
|
||||
}
|
||||
|
||||
void Intrinsics::visit_edges(JS::Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue