Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo
This commit is contained in:
@@ -649,7 +649,7 @@ public:
|
||||
// DataStore will run this callback when the revisionID is retrieved.
|
||||
JSFunction* func = js::NewFunctionWithReserved(aCx, JSCallback,
|
||||
0 /* nargs */, 0 /* flags */,
|
||||
nullptr, nullptr);
|
||||
nullptr);
|
||||
if (!func) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user