style: Remove trailing underscore of float ident.

Bug: 1454528
Reviewed-by: heycam
MozReview-Commit-ID: DN7rQu3adSB
This commit is contained in:
Xidorn Quan 2018-04-17 11:07:57 +10:00 committed by Emilio Cobos Álvarez
parent 1bc30a6732
commit b11c3f1f45
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -300,10 +300,7 @@ class Longhand(object):
return "<{} as ToAnimatedValue>::AnimatedValue".format(computed)
def nscsspropertyid(self):
ident = self.ident
if ident == "float":
ident = "float_"
return "nsCSSPropertyID::eCSSProperty_%s" % ident
return "nsCSSPropertyID::eCSSProperty_%s" % self.ident
class Shorthand(object):