зеркало из https://github.com/mozilla/gecko-dev.git
Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays.
This commit is contained in:
Родитель
6b16ef1ad2
Коммит
c5deb378f3
|
@ -1597,7 +1597,7 @@ class XMLList extends XMLObjectImpl implements Function
|
||||||
if(isApply || methodName.equals("call"))
|
if(isApply || methodName.equals("call"))
|
||||||
return applyOrCall(isApply, cx, scope, thisObj, args);
|
return applyOrCall(isApply, cx, scope, thisObj, args);
|
||||||
|
|
||||||
Function method = ScriptRuntime.getElemFunctionAndThis(
|
Callable method = ScriptRuntime.getElemFunctionAndThis(
|
||||||
this, methodName, cx);
|
this, methodName, cx);
|
||||||
// Call lastStoredScriptable to clear stored thisObj
|
// Call lastStoredScriptable to clear stored thisObj
|
||||||
// but ignore the result as the method should use the supplied
|
// but ignore the result as the method should use the supplied
|
||||||
|
|
Загрузка…
Ссылка в новой задаче