From c5deb378f3af0fa5840978ab9c94b40991668d5f Mon Sep 17 00:00:00 2001 From: "igor%mir2.org" Date: Mon, 1 Aug 2005 13:48:32 +0000 Subject: [PATCH] Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays. --- js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java b/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java index cd879a0ddeab..44b260c31207 100644 --- a/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java +++ b/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java @@ -1597,7 +1597,7 @@ class XMLList extends XMLObjectImpl implements Function if(isApply || methodName.equals("call")) return applyOrCall(isApply, cx, scope, thisObj, args); - Function method = ScriptRuntime.getElemFunctionAndThis( + Callable method = ScriptRuntime.getElemFunctionAndThis( this, methodName, cx); // Call lastStoredScriptable to clear stored thisObj // but ignore the result as the method should use the supplied