Bug 1024795, part 3 - Generate nsTArray instead of InfallibleTArray in lower.py. r=bent

This commit is contained in:
Andrew McCreight 2014-08-13 11:36:15 -07:00
parent a836c88feb
commit 3e0683ed51

View File

@ -332,7 +332,7 @@ def _refptrTake(expr):
return ExprCall(ExprSelect(expr, '.', 'take'))
def _cxxArrayType(basetype, const=0, ref=0):
return Type('InfallibleTArray', T=basetype, const=const, ref=ref)
return Type('nsTArray', T=basetype, const=const, ref=ref)
def _cxxFallibleArrayType(basetype, const=0, ref=0):
return Type('FallibleTArray', T=basetype, const=const, ref=ref)