diff --git a/layout/generic/nsGfxScrollFrame.cpp b/layout/generic/nsGfxScrollFrame.cpp index 062e6885d673..9174b1db929a 100644 --- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -1454,7 +1454,7 @@ nsGfxScrollFrameInner::Layout(nsBoxLayoutState& aState) if (mHasHorizontalScrollbar && mHScrollbarBox) { SetAttribute(mHScrollbarBox, nsXULAtoms::maxpos, maxX); SetAttribute(mHScrollbarBox, nsXULAtoms::pageincrement, nscoord(float(scrollAreaRect.width)*0.8)); - SetAttribute(mHScrollbarBox, nsXULAtoms::increment, 10*mOnePixel, PR_FALSE); + SetAttribute(mHScrollbarBox, nsXULAtoms::increment, 10*mOnePixel); } if (mHScrollbarBox) { diff --git a/layout/html/base/src/nsGfxScrollFrame.cpp b/layout/html/base/src/nsGfxScrollFrame.cpp index 062e6885d673..9174b1db929a 100644 --- a/layout/html/base/src/nsGfxScrollFrame.cpp +++ b/layout/html/base/src/nsGfxScrollFrame.cpp @@ -1454,7 +1454,7 @@ nsGfxScrollFrameInner::Layout(nsBoxLayoutState& aState) if (mHasHorizontalScrollbar && mHScrollbarBox) { SetAttribute(mHScrollbarBox, nsXULAtoms::maxpos, maxX); SetAttribute(mHScrollbarBox, nsXULAtoms::pageincrement, nscoord(float(scrollAreaRect.width)*0.8)); - SetAttribute(mHScrollbarBox, nsXULAtoms::increment, 10*mOnePixel, PR_FALSE); + SetAttribute(mHScrollbarBox, nsXULAtoms::increment, 10*mOnePixel); } if (mHScrollbarBox) {