From 5f9efeb9c2a0f0edf47ed09fe9da957c4d985c77 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Wed, 31 May 2000 07:02:47 +0000 Subject: [PATCH] Fix brutal sharing of XBL classes. --- content/xbl/src/nsXBLBinding.cpp | 2 +- layout/xbl/src/nsXBLBinding.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/xbl/src/nsXBLBinding.cpp b/content/xbl/src/nsXBLBinding.cpp index 84cc81b6f58..51303beabaa 100644 --- a/content/xbl/src/nsXBLBinding.cpp +++ b/content/xbl/src/nsXBLBinding.cpp @@ -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, diff --git a/layout/xbl/src/nsXBLBinding.cpp b/layout/xbl/src/nsXBLBinding.cpp index 84cc81b6f58..51303beabaa 100644 --- a/layout/xbl/src/nsXBLBinding.cpp +++ b/layout/xbl/src/nsXBLBinding.cpp @@ -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,