mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
LibWeb: Use prototype and constructor methods from new Intrinsics
This will let us remove the helpers from Window that simply defer to the Intrinsics that are hanging off the [[HostDefined]] slot on the realm
This commit is contained in:
parent
beb3519a49
commit
f1367e0e4c
10 changed files with 19 additions and 31 deletions
|
@ -31,7 +31,7 @@ public:
|
|||
HTML::Window& global_object() const;
|
||||
|
||||
protected:
|
||||
PlatformObject(JS::Realm&);
|
||||
explicit PlatformObject(JS::Realm&);
|
||||
explicit PlatformObject(JS::Object& prototype);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue