зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1356799, part 1 - Use one line per arg for methods with many args in subscript loader. r=mrbkap
MozReview-Commit-ID: BPZp6I0LSBH --HG-- extra : rebase_source : 635c21fdb76a6fc78f41348a01c95d4428262e9d
This commit is contained in:
Родитель
08b409645b
Коммит
b38f79c2ac
|
@ -401,10 +401,13 @@ AsyncScriptLoader::OnStreamComplete(nsIIncrementalStreamLoader* aLoader,
|
|||
}
|
||||
|
||||
nsresult
|
||||
mozJSSubScriptLoader::ReadScriptAsync(nsIURI* uri, JSObject* targetObjArg,
|
||||
mozJSSubScriptLoader::ReadScriptAsync(nsIURI* uri,
|
||||
JSObject* targetObjArg,
|
||||
const nsAString& charset,
|
||||
nsIIOService* serv, bool reuseGlobal,
|
||||
bool cache, MutableHandleValue retval)
|
||||
nsIIOService* serv,
|
||||
bool reuseGlobal,
|
||||
bool cache,
|
||||
MutableHandleValue retval)
|
||||
{
|
||||
RootedObject targetObj(RootingCx(), targetObjArg);
|
||||
|
||||
|
@ -461,10 +464,15 @@ mozJSSubScriptLoader::ReadScriptAsync(nsIURI* uri, JSObject* targetObjArg,
|
|||
}
|
||||
|
||||
bool
|
||||
mozJSSubScriptLoader::ReadScript(nsIURI* uri, JSContext* cx, JSObject* targetObjArg,
|
||||
const nsAString& charset, const char* uriStr,
|
||||
nsIIOService* serv, nsIPrincipal* principal,
|
||||
bool reuseGlobal, JS::MutableHandleScript script,
|
||||
mozJSSubScriptLoader::ReadScript(nsIURI* uri,
|
||||
JSContext* cx,
|
||||
JSObject* targetObjArg,
|
||||
const nsAString& charset,
|
||||
const char* uriStr,
|
||||
nsIIOService* serv,
|
||||
nsIPrincipal* principal,
|
||||
bool reuseGlobal,
|
||||
JS::MutableHandleScript script,
|
||||
JS::MutableHandleFunction function)
|
||||
{
|
||||
script.set(nullptr);
|
||||
|
|
Загрузка…
Ссылка в новой задаче