Bug 1402246 - Remove unused NS_SPACING_{MARGIN, PADDING, BORDER}. r=heycam
authorTing-Yu Lin <tlin@mozilla.com>
Fri, 22 Sep 2017 15:57:14 +0800
changeset 382458 7bcda8f31f98a0d8c7be8e42f6a05336225f8401
parent 382457 83d519cf2bebbb61f3acd7a0ad6f7364c6b77cca
child 382459 22e4997cd797715f1ff4221aeff5f5ace94bf9de
push id32558
push userkwierso@gmail.com
push dateFri, 22 Sep 2017 21:29:46 +0000
treeherdermozilla-central@61e58a7d800b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1402246
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1402246 - Remove unused NS_SPACING_{MARGIN, PADDING, BORDER}. r=heycam 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) {}