if (aHscrollbarNeedsReflow) { ReflowScrollbar(aPresContext, aReflowState, aStatus, aScrollBarResized, mHScrollbarFrame, aIncrementalChild);
PRBool resized = PR_TRUE; if (mHasHorizontalScrollbar || aReflowState.reason == eReflowReason_Initial) { ReflowScrollbar(aPresContext, aReflowState, aStatus, resized, mHScrollbarFrame, aIncrementalChild); }
nsGfxScrollFrameInner::ReflowScrollbars(   nsIPresContext*         aPresContext,                                   const nsHTMLReflowState& aReflowState,                                   nsReflowStatus&          aStatus,                                   PRBool&                  aHscrollbarNeedsReflow,                                    PRBool&                  aVscrollbarNeedsReflow,                                    PRBool&                  aScrollBarResized,                                    nsIFrame*&               aIncrementalChild){  // if we have gfx scrollbars reflow them. If they changed size then signal that   // we need to reflow the content area. This could happen if there is a style rule set  // up on them that changed there size. Like an image on the thumb gets big.    if (aHscrollbarNeedsReflow)    {      ReflowScrollbar(aPresContext,                       aReflowState,                       aStatus,                       aScrollBarResized,                      mHScrollbarFrame,                       aIncrementalChild);      if (aScrollBarResized)          aVscrollbarNeedsReflow = PR_TRUE;    }         if (aVscrollbarNeedsReflow)    {      ReflowScrollbar(aPresContext,                       aReflowState,                       aStatus,                       aScrollBarResized,                      mVScrollbarFrame,                       aIncrementalChild);      if (aScrollBarResized)          aHscrollbarNeedsReflow = PR_TRUE;     }    SetScrollbarVisibility(mHScrollbarFrame, mHasHorizontalScrollbar);    SetScrollbarVisibility(mVScrollbarFrame, mHasVerticalScrollbar);}