зеркало из 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()) {
|
||||
void* myFunc;
|
||||
nsCAutoString cname; cname.AssignWithConversion(name.GetUnicode());
|
||||
rv = context->CompileFunction(scriptObject,
|
||||
rv = context->CompileFunction(classObject,
|
||||
cname,
|
||||
argCount,
|
||||
(const char**)args,
|
||||
|
|
|
@ -761,7 +761,7 @@ nsXBLBinding::InstallProperties(nsIContent* aBoundElement)
|
|||
if (!body.IsEmpty()) {
|
||||
void* myFunc;
|
||||
nsCAutoString cname; cname.AssignWithConversion(name.GetUnicode());
|
||||
rv = context->CompileFunction(scriptObject,
|
||||
rv = context->CompileFunction(classObject,
|
||||
cname,
|
||||
argCount,
|
||||
(const char**)args,
|
||||
|
|
Загрузка…
Ссылка в новой задаче