Bug 1459363 - Remove unused NS_COLOR_* macros. r?erahm draft
authorKristen Wright <kwright@mozilla.com>
Mon, 07 May 2018 14:31:20 -0700
changeset 792208 8740a17d847d2a4b20c9aa506ef4dad2dccbdcaa
parent 792086 2d95d70298e248161b629ef1d0d57049c0b62d71
push id109044
push userbmo:kwright@mozilla.com
push dateMon, 07 May 2018 21:33:19 +0000
reviewerserahm
bugs1459363
milestone62.0a1
Bug 1459363 - Remove unused NS_COLOR_* macros. r?erahm These macros are no longer used. MozReview-Commit-ID: L2MUHgQ6wft
layout/style/nsStyleConsts.h
--- a/layout/style/nsStyleConsts.h
+++ b/layout/style/nsStyleConsts.h
@@ -226,31 +226,16 @@ enum class StyleWindowDragging : uint8_t
 // orient
 enum class StyleOrient : uint8_t {
   Inline,
   Block,
   Horizontal,
   Vertical,
 };
 
-
-// See nsStyleColor
-#define NS_STYLE_COLOR_INHERIT_FROM_BODY  2  /* Can't come from CSS directly */
-
-// See nsStyleColor
-#define NS_COLOR_CURRENTCOLOR                   -1
-#define NS_COLOR_MOZ_DEFAULT_COLOR              -2
-#define NS_COLOR_MOZ_DEFAULT_BACKGROUND_COLOR   -3
-#define NS_COLOR_MOZ_HYPERLINKTEXT              -4
-#define NS_COLOR_MOZ_VISITEDHYPERLINKTEXT       -5
-#define NS_COLOR_MOZ_ACTIVEHYPERLINKTEXT        -6
-// Only valid as paints in SVG glyphs
-#define NS_COLOR_CONTEXT_FILL                   -7
-#define NS_COLOR_CONTEXT_STROKE                 -8
-
 // See nsStyleDisplay
 #define NS_STYLE_WILL_CHANGE_STACKING_CONTEXT   (1<<0)
 #define NS_STYLE_WILL_CHANGE_TRANSFORM          (1<<1)
 #define NS_STYLE_WILL_CHANGE_SCROLL             (1<<2)
 #define NS_STYLE_WILL_CHANGE_OPACITY            (1<<3)
 #define NS_STYLE_WILL_CHANGE_FIXPOS_CB          (1<<4)
 #define NS_STYLE_WILL_CHANGE_ABSPOS_CB          (1<<5)