mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1482389, remove tree box object special case in Codegen.py, r=bz
This commit is contained in:
parent
d30462861e
commit
cdf4a288ec
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user