Remove unused nsHTMLReflowState::mRightEdge. b=407086 r+sr=roc a=dsicore
authordbaron@dbaron.org
Wed, 12 Dec 2007 13:50:27 -0800
changeset 8981 e50794636a94bdbe7e258786f8f16d06af730652
parent 8980 ad5b48899401bda32ab9ae256729e42c57208272
child 8982 158b6d2ec8ee4b740ab3bd2e9d28d277acfef54c
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdsicore
bugs407086
milestone1.9b3pre
Remove unused nsHTMLReflowState::mRightEdge. b=407086 r+sr=roc a=dsicore
layout/generic/nsHTMLReflowState.cpp
layout/generic/nsHTMLReflowState.h
--- a/layout/generic/nsHTMLReflowState.cpp
+++ b/layout/generic/nsHTMLReflowState.cpp
@@ -105,19 +105,16 @@ nsHTMLReflowState::nsHTMLReflowState(nsP
   mFlags.mTableIsSplittable = PR_FALSE;
   mFlags.mNextInFlowUntouched = PR_FALSE;
   mFlags.mAssumingHScrollbar = mFlags.mAssumingVScrollbar = PR_FALSE;
   mFlags.mHasClearance = PR_FALSE;
   mDiscoveredClearance = nsnull;
   mPercentHeightObserver = nsnull;
   mPercentHeightReflowInitiator = nsnull;
   Init(aPresContext);
-#ifdef IBMBIDI
-  mRightEdge = NS_UNCONSTRAINEDSIZE;
-#endif
 }
 
 static PRBool CheckNextInFlowParenthood(nsIFrame* aFrame, nsIFrame* aParent)
 {
   nsIFrame* frameNext = aFrame->GetNextInFlow();
   nsIFrame* parentNext = aParent->GetNextInFlow();
   return frameNext && parentNext && frameNext->GetParent() == parentNext;
 }
@@ -174,20 +171,16 @@ nsHTMLReflowState::nsHTMLReflowState(nsP
   mPercentHeightObserver = (aParentReflowState.mPercentHeightObserver && 
                             aParentReflowState.mPercentHeightObserver->NeedsToObserve(*this)) 
                            ? aParentReflowState.mPercentHeightObserver : nsnull;
   mPercentHeightReflowInitiator = aParentReflowState.mPercentHeightReflowInitiator;
 
   if (aInit) {
     Init(aPresContext, aContainingBlockWidth, aContainingBlockHeight);
   }
-
-#ifdef IBMBIDI
-  mRightEdge = aParentReflowState.mRightEdge;
-#endif // IBMBIDI
 }
 
 inline void
 nsCSSOffsetState::ComputeWidthDependentValue(nscoord aContainingBlockWidth,
                                              const nsStyleCoord& aCoord,
                                              nscoord& aResult)
 {
   aResult = nsLayoutUtils::ComputeWidthDependentValue(rendContext, frame,
--- a/layout/generic/nsHTMLReflowState.h
+++ b/layout/generic/nsHTMLReflowState.h
@@ -361,20 +361,16 @@ public:
                                      // different height than before or
                                      // (potentially) in a context where
                                      // percent heights have a different
                                      // basis?
     PRUint16 mTableIsSplittable:1;   // tables are splittable, this should happen only inside a page
                                      // and never insider a column frame
   } mFlags;
 
-#ifdef IBMBIDI
-  nscoord mRightEdge;
-#endif
-
   // Note: The copy constructor is written by the compiler automatically. You
   // can use that and then override specific values if you want, or you can
   // call Init as desired...
 
   // Initialize a <b>root</b> reflow state with a rendering context to
   // use for measuring things.
   nsHTMLReflowState(nsPresContext*           aPresContext,
                     nsIFrame*                aFrame,