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

LibJS: Pass prototype to BooleanObject constructor

This commit is contained in:
Andreas Kling 2020-04-17 19:03:52 +02:00
parent 298c606200
commit 2a15323029
5 changed files with 15 additions and 8 deletions

View file

@ -31,7 +31,9 @@
namespace JS {
class BooleanObject : public Object {
public:
explicit BooleanObject(bool);
static BooleanObject* create(GlobalObject&, bool);
BooleanObject(bool, Object& prototype);
virtual ~BooleanObject() override;
virtual Value value_of() const override