зеркало из https://github.com/mozilla/pjs.git
Fix brutal sharing of XBL classes.
This commit is contained in:
Родитель
0ed95b0d68
Коммит
5f9efeb9c2
|
@ -761,7 +761,7 @@ nsXBLBinding::InstallProperties(nsIContent* aBoundElement)
|
||||||
if (!body.IsEmpty()) {
|
if (!body.IsEmpty()) {
|
||||||
void* myFunc;
|
void* myFunc;
|
||||||
nsCAutoString cname; cname.AssignWithConversion(name.GetUnicode());
|
nsCAutoString cname; cname.AssignWithConversion(name.GetUnicode());
|
||||||
rv = context->CompileFunction(scriptObject,
|
rv = context->CompileFunction(classObject,
|
||||||
cname,
|
cname,
|
||||||
argCount,
|
argCount,
|
||||||
(const char**)args,
|
(const char**)args,
|
||||||
|
|
|
@ -761,7 +761,7 @@ nsXBLBinding::InstallProperties(nsIContent* aBoundElement)
|
||||||
if (!body.IsEmpty()) {
|
if (!body.IsEmpty()) {
|
||||||
void* myFunc;
|
void* myFunc;
|
||||||
nsCAutoString cname; cname.AssignWithConversion(name.GetUnicode());
|
nsCAutoString cname; cname.AssignWithConversion(name.GetUnicode());
|
||||||
rv = context->CompileFunction(scriptObject,
|
rv = context->CompileFunction(classObject,
|
||||||
cname,
|
cname,
|
||||||
argCount,
|
argCount,
|
||||||
(const char**)args,
|
(const char**)args,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче