From de7411c43ccda3ab0e2016664d8e69bb5f93d025 Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Thu, 25 May 2017 22:02:17 -0400 Subject: [PATCH] Servo changes for updated Gecko theme constants in bug 1367577. 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. --- components/style/properties/longhand/box.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/longhand/box.mako.rs b/components/style/properties/longhand/box.mako.rs index 59f3dff96ff..7bec5361348 100644 --- a/components/style/properties/longhand/box.mako.rs +++ b/components/style/properties/longhand/box.mako.rs @@ -2340,7 +2340,7 @@ ${helpers.single_keyword("-moz-appearance", -moz-window-titlebar-maximized """, gecko_ffi_name="mAppearance", - gecko_constant_prefix="NS_THEME", + gecko_constant_prefix="ThemeWidgetType_NS_THEME", products="gecko", spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance)", animation_value_type="none")}