1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibWeb: Replace usage of native properties with accessors in Navigator

This is required by the WebIDL specification.
This commit is contained in:
Idan Horowitz 2021-07-05 15:03:31 +03:00 committed by Linus Groh
parent 6468a2bf21
commit 4fdf4bfbd0
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ public:
virtual ~NavigatorObject() override;
private:
JS_DECLARE_NATIVE_GETTER(user_agent_getter);
JS_DECLARE_NATIVE_FUNCTION(user_agent_getter);
};
}