diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/ProxyConstructor.h')
-rw-r--r-- | Libraries/LibJS/Runtime/ProxyConstructor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/ProxyConstructor.h b/Libraries/LibJS/Runtime/ProxyConstructor.h index 10d9277280..e914f2e3cc 100644 --- a/Libraries/LibJS/Runtime/ProxyConstructor.h +++ b/Libraries/LibJS/Runtime/ProxyConstructor.h @@ -31,6 +31,8 @@ namespace JS { class ProxyConstructor final : public NativeFunction { + JS_OBJECT(ProxyConstructor, NativeFunction); + public: explicit ProxyConstructor(GlobalObject&); virtual void initialize(Interpreter&, GlobalObject&) override; @@ -41,7 +43,6 @@ public: private: virtual bool has_constructor() const override { return true; } - virtual const char* class_name() const override { return "ProxyConstructor"; } }; } |