From 394f1b38369fd9cdbdd982fbd4129fa9dc6c5dd3 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sun, 25 Sep 2022 18:15:28 -0600 Subject: [PATCH] LibWeb: Remove prototype and constructor helpers from Window --- Userland/Libraries/LibWeb/HTML/Window.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/Window.h b/Userland/Libraries/LibWeb/HTML/Window.h index 22f855564a..07f7165c04 100644 --- a/Userland/Libraries/LibWeb/HTML/Window.h +++ b/Userland/Libraries/LibWeb/HTML/Window.h @@ -173,20 +173,6 @@ public: Bindings::LocationObject* location_object() { return m_location_object; } Bindings::LocationObject const* location_object() const { return m_location_object; } - JS::Object& cached_web_prototype(String const& class_name) { return Bindings::cached_web_prototype(realm(), class_name); } - - template - JS::Object& ensure_web_prototype(String const& class_name) - { - return Bindings::ensure_web_prototype(realm(), class_name); - } - - template - JS::NativeFunction& ensure_web_constructor(String const& class_name) - { - return Bindings::ensure_web_constructor(realm(), class_name); - } - virtual JS::ThrowCompletionOr internal_set_prototype_of(JS::Object* prototype) override; CrossOriginPropertyDescriptorMap const& cross_origin_property_descriptor_map() const { return m_cross_origin_property_descriptor_map; }