mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibJS: Convert Intl::NumberFormatFunction::create() to NonnullGCPtr
This commit is contained in:
parent
b2034c59dc
commit
658bd2f342
Notes:
sideshowbarker
2024-07-17 05:58:46 +09:00
Author: https://github.com/linusg
Commit: 658bd2f342
Pull-request: https://github.com/SerenityOS/serenity/pull/16479
Reviewed-by: https://github.com/davidot ✅
3 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ class NumberFormatFunction final : public NativeFunction {
|
|||
JS_OBJECT(NumberFormatFunction, NativeFunction);
|
||||
|
||||
public:
|
||||
static NumberFormatFunction* create(Realm&, NumberFormat&);
|
||||
static NonnullGCPtr<NumberFormatFunction> create(Realm&, NumberFormat&);
|
||||
|
||||
virtual ~NumberFormatFunction() override = default;
|
||||
virtual void initialize(Realm&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue