mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 781086. Accidentally misplaced argument meant we were getting the min size instead of the pref size causing scroll bars to appear where they shouldn't. r=roc
This commit is contained in:
parent
b59a68e777
commit
2c8602f652
@ -493,7 +493,7 @@ nsHTMLScrollFrame::ReflowScrolledFrame(ScrollReflowState* aState,
|
||||
if (aAssumeVScroll) {
|
||||
nsSize vScrollbarPrefSize;
|
||||
GetScrollbarMetrics(aState->mBoxState, mInner.mVScrollbarBox,
|
||||
&vScrollbarPrefSize, nsnull, true);
|
||||
nsnull, &vScrollbarPrefSize, true);
|
||||
availWidth = NS_MAX(0, availWidth - vScrollbarPrefSize.width);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user