From a9c33b5bbdcc2b03baafae2d8cf6a3dfc7f13674 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Mon, 13 Sep 2021 17:59:38 +0100 Subject: [PATCH] LibJS: Remove leftover typed_this() declarations --- Userland/Libraries/LibJS/Runtime/MapPrototype.h | 2 -- Userland/Libraries/LibJS/Runtime/SetPrototype.h | 2 -- Userland/Libraries/LibJS/Runtime/WeakMapPrototype.h | 2 -- Userland/Libraries/LibJS/Runtime/WeakSetPrototype.h | 2 -- 4 files changed, 8 deletions(-) diff --git a/Userland/Libraries/LibJS/Runtime/MapPrototype.h b/Userland/Libraries/LibJS/Runtime/MapPrototype.h index 0474a462ca..93f0628e9c 100644 --- a/Userland/Libraries/LibJS/Runtime/MapPrototype.h +++ b/Userland/Libraries/LibJS/Runtime/MapPrototype.h @@ -20,8 +20,6 @@ public: virtual ~MapPrototype() override; private: - static Map* typed_this(VM&, GlobalObject&); - JS_DECLARE_NATIVE_FUNCTION(clear); JS_DECLARE_NATIVE_FUNCTION(delete_); JS_DECLARE_NATIVE_FUNCTION(entries); diff --git a/Userland/Libraries/LibJS/Runtime/SetPrototype.h b/Userland/Libraries/LibJS/Runtime/SetPrototype.h index 24e0a241ff..58f10634af 100644 --- a/Userland/Libraries/LibJS/Runtime/SetPrototype.h +++ b/Userland/Libraries/LibJS/Runtime/SetPrototype.h @@ -20,8 +20,6 @@ public: virtual ~SetPrototype() override; private: - static Set* typed_this(VM&, GlobalObject&); - JS_DECLARE_NATIVE_FUNCTION(add); JS_DECLARE_NATIVE_FUNCTION(clear); JS_DECLARE_NATIVE_FUNCTION(delete_); diff --git a/Userland/Libraries/LibJS/Runtime/WeakMapPrototype.h b/Userland/Libraries/LibJS/Runtime/WeakMapPrototype.h index 86fa77dadf..5adcc838bd 100644 --- a/Userland/Libraries/LibJS/Runtime/WeakMapPrototype.h +++ b/Userland/Libraries/LibJS/Runtime/WeakMapPrototype.h @@ -20,8 +20,6 @@ public: virtual ~WeakMapPrototype() override; private: - static WeakMap* typed_this(VM&, GlobalObject&); - JS_DECLARE_NATIVE_FUNCTION(delete_); JS_DECLARE_NATIVE_FUNCTION(get); JS_DECLARE_NATIVE_FUNCTION(has); diff --git a/Userland/Libraries/LibJS/Runtime/WeakSetPrototype.h b/Userland/Libraries/LibJS/Runtime/WeakSetPrototype.h index 120f4c01c4..50351c2684 100644 --- a/Userland/Libraries/LibJS/Runtime/WeakSetPrototype.h +++ b/Userland/Libraries/LibJS/Runtime/WeakSetPrototype.h @@ -20,8 +20,6 @@ public: virtual ~WeakSetPrototype() override; private: - static WeakSet* typed_this(VM&, GlobalObject&); - JS_DECLARE_NATIVE_FUNCTION(add); JS_DECLARE_NATIVE_FUNCTION(delete_); JS_DECLARE_NATIVE_FUNCTION(has);