summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-09-25 18:15:28 -0600
committerLinus Groh <mail@linusgroh.de>2022-10-01 21:05:32 +0100
commit394f1b38369fd9cdbdd982fbd4129fa9dc6c5dd3 (patch)
tree32ca023610943f18946d56425b7edbcb8e21ab83 /Userland/Libraries/LibWeb/HTML
parentf1367e0e4cd1018fa7026b6431b1d3da66751849 (diff)
downloadserenity-394f1b38369fd9cdbdd982fbd4129fa9dc6c5dd3.zip
LibWeb: Remove prototype and constructor helpers from Window
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Window.h14
1 files changed, 0 insertions, 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<typename T>
- JS::Object& ensure_web_prototype(String const& class_name)
- {
- return Bindings::ensure_web_prototype<T>(realm(), class_name);
- }
-
- template<typename T>
- JS::NativeFunction& ensure_web_constructor(String const& class_name)
- {
- return Bindings::ensure_web_constructor<T>(realm(), class_name);
- }
-
virtual JS::ThrowCompletionOr<bool> internal_set_prototype_of(JS::Object* prototype) override;
CrossOriginPropertyDescriptorMap const& cross_origin_property_descriptor_map() const { return m_cross_origin_property_descriptor_map; }