mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibJS: Convert RegExpObject::create() to NonnullGCPtr
This commit is contained in:
parent
bfb8d83535
commit
cad40ec953
Notes:
sideshowbarker
2024-07-17 08:35:21 +09:00
Author: https://github.com/linusg
Commit: cad40ec953
Pull-request: https://github.com/SerenityOS/serenity/pull/16479
Reviewed-by: https://github.com/davidot ✅
3 changed files with 7 additions and 7 deletions
|
@ -36,8 +36,8 @@ public:
|
|||
| regex::ECMAScriptFlags::BrowserExtended
|
||||
};
|
||||
|
||||
static RegExpObject* create(Realm&);
|
||||
static RegExpObject* create(Realm&, Regex<ECMA262> regex, DeprecatedString pattern, DeprecatedString flags);
|
||||
static NonnullGCPtr<RegExpObject> create(Realm&);
|
||||
static NonnullGCPtr<RegExpObject> create(Realm&, Regex<ECMA262> regex, DeprecatedString pattern, DeprecatedString flags);
|
||||
|
||||
ThrowCompletionOr<NonnullGCPtr<RegExpObject>> regexp_initialize(VM&, Value pattern, Value flags);
|
||||
DeprecatedString escape_regexp_pattern() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue