diff options
-rw-r--r-- | dom/bindings/Codegen.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/bindings/Codegen.py b/dom/bindings/Codegen.py index 676d91793..6fd15ac90 100644 --- a/dom/bindings/Codegen.py +++ b/dom/bindings/Codegen.py @@ -7473,7 +7473,7 @@ class CGPerSignatureCall(CGThing): def __init__(self, returnType, arguments, nativeMethodName, static, descriptor, idlNode, argConversionStartsAt=0, getter=False, setter=False, isConstructor=False, useCounterName=None, - resultVar=None): + resultVar=None, objectName="obj"): assert idlNode.isMethod() == (not getter and not setter) assert idlNode.isAttr() == (getter or setter) # Constructors are always static @@ -11069,7 +11069,8 @@ class CGProxySpecialOperation(CGPerSignatureCall): # CGPerSignatureCall won't do any argument conversion of its own. CGPerSignatureCall.__init__(self, returnType, arguments, nativeName, False, descriptor, operation, - len(arguments), resultVar=resultVar) + len(arguments), resultVar=resultVar, + objectName="proxy") if operation.isSetter() or operation.isCreator(): # arguments[0] is the index or name of the item that we're setting. |