Bug 852911 - B2G MMS: fail to expose correct nsIDOMMozMmsMessage.attachments. r=smaug

This commit is contained in:
Gene Lian 2013-03-21 14:49:23 +08:00
parent ead1fe5b4c
commit 0517e30d1d

View File

@ -55,7 +55,7 @@ def attributeVariableTypeAndName(a):
l = ["nsCOMPtr<%s> %s" % (a.realtype.nativeType('in').strip('* '),
a.name)]
elif a.realtype.nativeType('in').count("nsAString"):
l = ["nsAutoString %s" % a.name]
l = ["nsString %s" % a.name]
elif a.realtype.nativeType('in').count("JS::Value"):
l = ["JS::Value %s" % a.name]
else: