summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/RegExpObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/RegExpObject.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/RegExpObject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/RegExpObject.h b/Userland/Libraries/LibJS/Runtime/RegExpObject.h
index 8497239813..ddce90133a 100644
--- a/Userland/Libraries/LibJS/Runtime/RegExpObject.h
+++ b/Userland/Libraries/LibJS/Runtime/RegExpObject.h
@@ -36,8 +36,8 @@ public:
| regex::ECMAScriptFlags::BrowserExtended
};
- static RegExpObject* create(GlobalObject&);
- static RegExpObject* create(GlobalObject&, Regex<ECMA262> regex, String pattern, String flags);
+ static RegExpObject* create(Realm&);
+ static RegExpObject* create(Realm&, Regex<ECMA262> regex, String pattern, String flags);
RegExpObject(Object& prototype);
RegExpObject(Regex<ECMA262> regex, String pattern, String flags, Object& prototype);