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

LibJS: Remove a bunch of gratuitous JS namespace qualifiers

This commit is contained in:
Linus Groh 2022-04-03 15:19:33 +01:00
parent f2c02077ba
commit 5b48912d35
17 changed files with 66 additions and 65 deletions

View file

@ -22,7 +22,7 @@ class FinalizationRegistry final
JS_OBJECT(FinalizationRegistry, Object);
public:
explicit FinalizationRegistry(Realm&, JS::JobCallback, Object& prototype);
explicit FinalizationRegistry(Realm&, JobCallback, Object& prototype);
virtual ~FinalizationRegistry() override = default;
void add_finalization_record(Cell& target, Value held_value, Object* unregister_token);
@ -41,7 +41,7 @@ private:
virtual void visit_edges(Visitor& visitor) override;
Handle<Realm> m_realm;
JS::JobCallback m_cleanup_callback;
JobCallback m_cleanup_callback;
struct FinalizationRecord {
Cell* target { nullptr };