diff options
Diffstat (limited to 'Libraries/LibWeb/Bindings/NavigatorObject.h')
-rw-r--r-- | Libraries/LibWeb/Bindings/NavigatorObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Bindings/NavigatorObject.h b/Libraries/LibWeb/Bindings/NavigatorObject.h index ddef82f8f7..b05ecc26cd 100644 --- a/Libraries/LibWeb/Bindings/NavigatorObject.h +++ b/Libraries/LibWeb/Bindings/NavigatorObject.h @@ -33,14 +33,14 @@ namespace Web { namespace Bindings { class NavigatorObject final : public JS::Object { + JS_OBJECT(NavigatorObject, JS::Object); + public: NavigatorObject(JS::GlobalObject&); virtual void initialize(JS::Interpreter&, JS::GlobalObject&) override; virtual ~NavigatorObject() override; private: - virtual const char* class_name() const override { return "NavigatorObject"; } - JS_DECLARE_NATIVE_GETTER(user_agent_getter); }; |