Backed out changeset 6f8d311064d9 (bug 15396900) for bustages in bug1033946.js CLOSED TREE
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
#include "jsfriendapi.h"
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/RegExp.h"
|
||||
#include "js/RegExpFlags.h"
|
||||
#include "xpcprivate.h"
|
||||
#include "WrapperFactory.h"
|
||||
|
||||
@@ -834,8 +833,7 @@ RegExpShared* WrapperOwner::regexp_toShared(JSContext* cx, HandleObject proxy) {
|
||||
}
|
||||
|
||||
RootedObject regexp(cx);
|
||||
regexp = JS::NewUCRegExpObject(cx, source.get(), source.Length(),
|
||||
RegExpFlags(flags));
|
||||
regexp = JS::NewUCRegExpObject(cx, source.get(), source.Length(), flags);
|
||||
if (!regexp) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user