diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/RegExpObject.cpp')
-rw-r--r-- | Libraries/LibJS/Runtime/RegExpObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/RegExpObject.cpp b/Libraries/LibJS/Runtime/RegExpObject.cpp index d6ce164e98..34f5e424b8 100644 --- a/Libraries/LibJS/Runtime/RegExpObject.cpp +++ b/Libraries/LibJS/Runtime/RegExpObject.cpp @@ -37,7 +37,7 @@ namespace JS { RegExpObject* RegExpObject::create(GlobalObject& global_object, String content, String flags) { - return global_object.heap().allocate<RegExpObject>(content, flags, *global_object.regexp_prototype()); + return global_object.heap().allocate<RegExpObject>(global_object, content, flags, *global_object.regexp_prototype()); } RegExpObject::RegExpObject(String content, String flags, Object& prototype) |