scrollArea.width += aReflowState.mComputedPadding.left + aReflowState.mComputedPadding.right; scrollArea.height += aReflowState.mComputedPadding.top + aReflowState.mComputedPadding.bottom;
nsGfxScrollFrameInner::ReflowScrollbar(    nsIPresContext*          aPresContext,                                   const nsHTMLReflowState& aReflowState,                                   nsReflowStatus&          aStatus,                                   PRBool&                  aScrollbarResized,                                    nsIFrame*                aScrollbarFrame,                                   nsIFrame*&               aIncrementalChild){  nsSize scrollArea;  GetFrameSize(mScrollAreaFrame, scrollArea);   // is it the horizontal scrollbar?  if (aScrollbarFrame == mHScrollbarFrame) {      // get the width to layout in      nscoord width = scrollArea.width;      nsHTMLReflowMetrics desiredSize(nsnull);      // reflow the frame      ReflowFrame(aPresContext, desiredSize, aReflowState, aStatus, mHScrollbarFrame,                       nsSize(NS_INTRINSICSIZE, NS_INTRINSICSIZE),                      nsSize(width, NS_INTRINSICSIZE),                      aScrollbarResized,                      aIncrementalChild);  } else if (aScrollbarFrame == mVScrollbarFrame) {      // is it the vertical scrollbar?      // get the height to layout in      nscoord height = scrollArea.height;      nsHTMLReflowMetrics desiredSize(nsnull);      // reflow the frame      ReflowFrame(aPresContext, desiredSize, aReflowState, aStatus, mVScrollbarFrame,                       nsSize(NS_INTRINSICSIZE, NS_INTRINSICSIZE),                      nsSize(NS_INTRINSICSIZE, height),                      aScrollbarResized,                      aIncrementalChild);        }}