mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 296374: patch from jag@tty.nl to fix mingw/vc2005 bustage from initial
landing, r+a=me.
This commit is contained in:
parent
8d91ed1daf
commit
961cdf5d4a
@ -2194,7 +2194,8 @@ nsXPCComponents_Util::EvalInSandbox(const nsAString &source,
|
||||
JS_SetErrorReporter(cx, borrowedReporter);
|
||||
|
||||
if(!JS_EvaluateUCScriptForPrincipals(sandcx, sandbox, jsPrincipals,
|
||||
PromiseFlatString(source).get(),
|
||||
NS_REINTERPRET_CAST(const jschar *,
|
||||
PromiseFlatString(source).get()),
|
||||
source.Length(),
|
||||
PromiseFlatUTF8String(codebase).get(),
|
||||
1, rval)) {
|
||||
|
Loading…
Reference in New Issue
Block a user