Bug 1288383 - "Replace clip-path, box-shadow, float-edge, and user-focus consts with enum classes" bustage fix. a=tomcat
authorManish Goregaokar [:manishearth] <manishearth@gmail.com>
Mon, 25 Jul 2016 02:27:00 +0200
changeset 331358 d69f9992ba40934b68bbe01a8c30dd786373ec84
parent 331357 cde1abb38839b442944b5fb0f07b5543defb078b
child 331359 f44bb9de08ade45299223de89953c6d0f4d003d1
child 331545 bc767d7a30ddb701a9b2bd62670fdbe14780f81f
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstomcat
bugs1288383
milestone50.0a1
Bug 1288383 - "Replace clip-path, box-shadow, float-edge, and user-focus consts with enum classes" bustage fix. a=tomcat
layout/style/nsRuleNode.cpp
--- a/layout/style/nsRuleNode.cpp
+++ b/layout/style/nsRuleNode.cpp
@@ -1297,17 +1297,17 @@ struct SetEnumValueHelper
     MOZ_ASSERT(value >= static_cast<decltype(value)>(type_::min_) && \
                value <= static_cast<decltype(value)>(type_::max_), \
                "inappropriate value"); \
     aField = static_cast<type_>(value); \
   }
 
   DEFINE_ENUM_CLASS_SETTER(StyleBoxSizing, Content, Border)
   DEFINE_ENUM_CLASS_SETTER(StyleFloatEdge, ContentBox, MarginBox)
-  DEFINE_ENUM_CLASS_SETTER(StyleUserFocus, None, SelectMenu)
+  DEFINE_ENUM_CLASS_SETTER(StyleUserFocus, None_, SelectMenu)
 
 #undef DEF_SET_ENUMERATED_VALUE
 };
 
 template<typename FieldT>
 struct SetIntegerValueHelper
 {
   static void SetIntegerValue(FieldT& aField, const nsCSSValue& aValue)