Bug 985472 - Name fixup in ExportFunction. r=bholley

This commit is contained in:
Gabor Krizsanits 2014-03-25 16:21:51 +01:00
parent bb598f226f
commit 6854f1d657
2 changed files with 2 additions and 2 deletions

View File

@ -3009,7 +3009,7 @@ nsXPCComponents_Utils::EvalInWindow(const nsAString &source, HandleValue window,
return NS_OK;
}
/* jsval exportFunction(in jsval vfunction, in jsval vscope, in jsval vname); */
/* jsval exportFunction(in jsval vfunction, in jsval vscope, in jsval voptions); */
NS_IMETHODIMP
nsXPCComponents_Utils::ExportFunction(HandleValue vfunction, HandleValue vscope,
HandleValue voptions, JSContext *cx,

View File

@ -3436,7 +3436,7 @@ EvalInWindow(JSContext *cx, const nsAString &source, JS::HandleObject scope,
bool
ExportFunction(JSContext *cx, JS::HandleValue vscope, JS::HandleValue vfunction,
JS::HandleValue vname, JS::MutableHandleValue rval);
JS::HandleValue voptions, JS::MutableHandleValue rval);
} /* namespace xpc */