Bug 1452542 part 3 - Use snake_case naming for nsCSSPropertyID of alias as well. r=emilio

MozReview-Commit-ID: 242ms8wBDIU
This commit is contained in:
Xidorn Quan
2018-04-11 13:44:30 +10:00
parent 7d72d24455
commit e4fac53317
5 changed files with 6 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ def generate_idl_names(properties):
def generate_assertions(properties):
def enum(p):
if p["proptype"] is "alias":
return "eCSSPropertyAlias_%s" % p["prop"]
return "eCSSPropertyAlias_%s" % p["id"]
else:
return "eCSSProperty_%s" % p["id"]
msg = ('static_assert(%s == %d, "GenerateCSSPropsGenerated.py did not list '