mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1356799, part 2 - Don't use JS:: for handle types in subscript loader. r=mrbkap
Also, be consistent with the rest of the code and use a handle typedef in one place. MozReview-Commit-ID: KY3cnLemoUl --HG-- extra : rebase_source : 4c3ae2750c868b5401a686dd164adbd04b45a0b5
This commit is contained in:
parent
b38f79c2ac
commit
ad47781af1
@ -472,8 +472,8 @@ mozJSSubScriptLoader::ReadScript(nsIURI* uri,
|
||||
nsIIOService* serv,
|
||||
nsIPrincipal* principal,
|
||||
bool reuseGlobal,
|
||||
JS::MutableHandleScript script,
|
||||
JS::MutableHandleFunction function)
|
||||
MutableHandleScript script,
|
||||
MutableHandleFunction function)
|
||||
{
|
||||
script.set(nullptr);
|
||||
function.set(nullptr);
|
||||
|
@ -47,7 +47,7 @@ private:
|
||||
nsresult DoLoadSubScriptWithOptions(const nsAString& url,
|
||||
LoadSubScriptOptions& options,
|
||||
JSContext* cx,
|
||||
JS::MutableHandle<JS::Value> retval);
|
||||
JS::MutableHandleValue retval);
|
||||
|
||||
nsCOMPtr<nsIPrincipal> mSystemPrincipal;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user