mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:27:34 +00:00
LibJS: Convert RegExpObject::create() to NonnullGCPtr
This commit is contained in:
parent
bfb8d83535
commit
cad40ec953
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