mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 02:38:59 +00:00
LibJS: Convert ProxyObject::create() to NonnullGCPtr
This commit is contained in:
parent
6e386acb11
commit
e0818bf21e
Notes:
sideshowbarker
2024-07-17 03:25:24 +09:00
Author: https://github.com/linusg
Commit: e0818bf21e
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 ProxyObject final : public FunctionObject {
|
|||
JS_OBJECT(ProxyObject, FunctionObject);
|
||||
|
||||
public:
|
||||
static ProxyObject* create(Realm&, Object& target, Object& handler);
|
||||
static NonnullGCPtr<ProxyObject> create(Realm&, Object& target, Object& handler);
|
||||
|
||||
virtual ~ProxyObject() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue