Skip to content

Commit

Permalink
style: Remove trailing underscore of float ident.
Browse files Browse the repository at this point in the history
Bug: 1454528
Reviewed-by: heycam
MozReview-Commit-ID: DN7rQu3adSB
  • Loading branch information
upsuper authored and emilio committed Apr 17, 2018
1 parent 1bc30a6 commit b11c3f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/style/properties/data.py
Expand Up @@ -300,10 +300,7 @@ def animated_type(self):
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):
Expand Down

0 comments on commit b11c3f1

Please sign in to comment.