Bug 1402246 - Remove unused NS_SPACING_{MARGIN, PADDING, BORDER}. draft
authorTing-Yu Lin <tlin@mozilla.com>
Fri, 22 Sep 2017 15:57:14 +0800
changeset 668964 a39056b2df7ce20617310ca315994a279a4ebdc2
parent 668963 ca0035f296fe759a1c048036353c710d2bee85fc
child 732815 87f02d8fbc70eb31aeb7e02bbdb0757641d81714
push id81167
push userbmo:tlin@mozilla.com
push dateFri, 22 Sep 2017 08:16:03 +0000
bugs1402246
milestone58.0a1
Bug 1402246 - Remove unused NS_SPACING_{MARGIN, PADDING, BORDER}. MozReview-Commit-ID: DOW5EnFLQxL
layout/style/nsStyleStruct.h
--- a/layout/style/nsStyleStruct.h
+++ b/layout/style/nsStyleStruct.h
@@ -890,21 +890,16 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsSt
   inline bool HasLocalBackground() const;
 
   const nsStyleImageLayers::Layer& BottomLayer() const { return mImage.BottomLayer(); }
 
   nsStyleImageLayers mImage;
   mozilla::StyleComplexColor mBackgroundColor;       // [reset]
 };
 
-#define NS_SPACING_MARGIN   0
-#define NS_SPACING_PADDING  1
-#define NS_SPACING_BORDER   2
-
-
 struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleMargin
 {
   explicit nsStyleMargin(const nsPresContext* aContext);
   nsStyleMargin(const nsStyleMargin& aMargin);
   ~nsStyleMargin() {
     MOZ_COUNT_DTOR(nsStyleMargin);
   }
   void FinishStyle(nsPresContext* aPresContext) {}