Bug 916972 - Remove unused nsSpread and carried-out margin flags in nsIFrame.h. r=dholbert
authorTing-Yu Lin <tlin@mozilla.com>
Mon, 05 Nov 2018 16:44:08 +0000
changeset 444457 723af5c4a100e82ec21605eac9367c2b8487a7e0
parent 444456 09df5390e2fb01be435bf72a8c8e1c1948e45f62
child 444458 52b0259b5c089f19b163630032e7bddd32330972
push id34996
push userrgurzau@mozilla.com
push dateTue, 06 Nov 2018 09:53:23 +0000
treeherdermozilla-central@e160f0a60e4f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs916972
milestone65.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 916972 - Remove unused nsSpread and carried-out margin flags in nsIFrame.h. r=dholbert Depends on D10798 Differential Revision: https://phabricator.services.mozilla.com/D10799
layout/generic/nsIFrame.h
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -161,26 +161,16 @@ enum nsSelectionAmount {
   // Don't rearrange without checking the usage in nsSelection.cpp!
 
   eSelectBeginLine = 5,
   eSelectEndLine   = 6,
   eSelectNoAmount  = 7, // just bounce back current offset.
   eSelectParagraph = 8  // select a "paragraph"
 };
 
-enum nsSpread {
-  eSpreadNone   = 0,
-  eSpreadAcross = 1,
-  eSpreadDown   = 2
-};
-
-// Carried out margin flags
-#define NS_CARRIED_TOP_MARGIN_IS_AUTO    0x1
-#define NS_CARRIED_BOTTOM_MARGIN_IS_AUTO 0x2
-
 //----------------------------------------------------------------------
 // Reflow status returned by the Reflow() methods.
 class nsReflowStatus final {
   using StyleClear = mozilla::StyleClear;
 
 public:
   nsReflowStatus()
     : mBreakType(StyleClear::None)