mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibJS: Convert Date::create() to NonnullGCPtr
This commit is contained in:
parent
0eeb3164fa
commit
790b21c8b5
2 changed files with 3 additions and 4 deletions
|
@ -15,8 +15,7 @@ class Date final : public Object {
|
|||
JS_OBJECT(Date, Object);
|
||||
|
||||
public:
|
||||
static Date* create(Realm&, double date_value);
|
||||
static Date* now(VM&);
|
||||
static NonnullGCPtr<Date> create(Realm&, double date_value);
|
||||
|
||||
virtual ~Date() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue