Bug 1482389, remove tree box object special case in Codegen.py, r=bz

This commit is contained in:
Neil Deakin 2019-01-14 20:59:34 -05:00
parent d30462861e
commit cdf4a288ec

View File

@ -7404,11 +7404,8 @@ class CGCallGenerator(CGThing):
if not static:
call = CGWrapper(call, pre="%s->" % object)
call = CGList([call, CGWrapper(args, pre="(", post=")")])
if ((returnType is None or returnType.isVoid() or
resultOutParam is not None) and
# This check for TreeBoxObject is here due to bug 1434641. Once
# nsITreeBoxObject is gone, it can go away.
descriptor.name != "TreeBoxObject"):
if (returnType is None or returnType.isVoid() or
resultOutParam is not None):
assert resultConversion is None
call = CGList([
CGWrapper(