Bug 1380461 part 0: Fix indentation in nsXULScrollFrame::AddRemoveScrollbar. (whitespace-only) r?jfkthame draft
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 12 Jul 2017 14:24:16 -0700
changeset 607773 f7db6ee4ab4ca159b9dfb35358833daa814ff790
parent 607767 a8809f15b58213f3292b9eaf7fa9583377d1fa30
child 607774 08994294cc23b764d2bab98a398e5402ed73cc99
push id68108
push userdholbert@mozilla.com
push dateWed, 12 Jul 2017 21:24:32 +0000
reviewersjfkthame
bugs1380461
milestone56.0a1
Bug 1380461 part 0: Fix indentation in nsXULScrollFrame::AddRemoveScrollbar. (whitespace-only) r?jfkthame MozReview-Commit-ID: zJBPEUa4Po
layout/generic/nsGfxScrollFrame.cpp
--- a/layout/generic/nsGfxScrollFrame.cpp
+++ b/layout/generic/nsGfxScrollFrame.cpp
@@ -4829,38 +4829,38 @@ nsXULScrollFrame::AddRemoveScrollbar(nsB
 
      nsSize hSize = mHelper.mHScrollbarBox->GetXULPrefSize(aState);
      nsBox::AddMargin(mHelper.mHScrollbarBox, hSize);
 
      mHelper.SetScrollbarVisibility(mHelper.mHScrollbarBox, aAdd);
 
      bool hasHorizontalScrollbar;
      bool fit = AddRemoveScrollbar(hasHorizontalScrollbar,
-                                     mHelper.mScrollPort.y,
-                                     mHelper.mScrollPort.height,
-                                     hSize.height, aOnRightOrBottom, aAdd);
+                                   mHelper.mScrollPort.y,
+                                   mHelper.mScrollPort.height,
+                                   hSize.height, aOnRightOrBottom, aAdd);
      mHelper.mHasHorizontalScrollbar = hasHorizontalScrollbar;    // because mHasHorizontalScrollbar is a bool
      if (!fit)
         mHelper.SetScrollbarVisibility(mHelper.mHScrollbarBox, !aAdd);
 
      return fit;
   } else {
      if (mHelper.mNeverHasVerticalScrollbar || !mHelper.mVScrollbarBox)
        return false;
 
      nsSize vSize = mHelper.mVScrollbarBox->GetXULPrefSize(aState);
      nsBox::AddMargin(mHelper.mVScrollbarBox, vSize);
 
      mHelper.SetScrollbarVisibility(mHelper.mVScrollbarBox, aAdd);
 
      bool hasVerticalScrollbar;
      bool fit = AddRemoveScrollbar(hasVerticalScrollbar,
-                                     mHelper.mScrollPort.x,
-                                     mHelper.mScrollPort.width,
-                                     vSize.width, aOnRightOrBottom, aAdd);
+                                   mHelper.mScrollPort.x,
+                                   mHelper.mScrollPort.width,
+                                   vSize.width, aOnRightOrBottom, aAdd);
      mHelper.mHasVerticalScrollbar = hasVerticalScrollbar;    // because mHasVerticalScrollbar is a bool
      if (!fit)
         mHelper.SetScrollbarVisibility(mHelper.mVScrollbarBox, !aAdd);
 
      return fit;
   }
 }