From e6162be543a00a9c8e9b6a785b105b3e96695c71 Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Thu, 25 May 2017 22:29:52 -0400 Subject: [PATCH] Bug 1367577 - Stylo changes for updated theme constants. r=xidorn This is a little bit odd, because I didn't want to do all the work to convert the theme constants to an enum class (although that would be nice to do in the future). So this makes them a regular enum, but still uses gecko_constant_prefix rather than gecko_enum_prefix because that makes it possible to add the NS_THEME_ prefix that's still present. MozReview-Commit-ID: LdAyCNCvWT2 --HG-- extra : rebase_source : 9cf0511373f7e9ac51c964cd228776ee17ee5e5e --- layout/style/ServoBindings.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layout/style/ServoBindings.toml b/layout/style/ServoBindings.toml index 285cbc5e669d..3f1dd6e0be6e 100644 --- a/layout/style/ServoBindings.toml +++ b/layout/style/ServoBindings.toml @@ -86,6 +86,7 @@ bitfield-enums = [ constified-enums = [ "UpdateAnimationsTasks", "ParsingMode", + "ThemeWidgetType", ] constified-enum-variants = [ { enum = "nsCSSPropertyID", variants = ["eCSSProperty_COUNT.*"] }, @@ -244,6 +245,7 @@ whitelist-types = [ "StyleGeometryBox", "StyleShapeSource", "StyleTransition", + "ThemeWidgetType", "mozilla::UniquePtr", "mozilla::DefaultDelete", "mozilla::Side",