Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo

This commit is contained in:
Boris Zbarsky
2015-03-09 12:50:07 -04:00
parent f66e854256
commit 2ec59dd79e
7 changed files with 12 additions and 17 deletions

View File

@@ -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;
}