зеркало из https://github.com/mozilla/gecko-dev.git
Fix brutal sharing of XBL classes.
This commit is contained in:
Родитель
457fa2def4
Коммит
9a2b551a9a
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче