зеркало из https://github.com/mozilla/gecko-dev.git
Bug 393665 Fix crash regression from bug 306990 r=Enn sr+a=roc
This commit is contained in:
Родитель
36c769f8ac
Коммит
1495d665e7
|
@ -2443,16 +2443,16 @@ nsTreeBodyFrame::CalcHorzWidth(const ScrollParts& aParts)
|
|||
width = 0;
|
||||
}
|
||||
|
||||
// If no horz scrolling periphery is present, then just
|
||||
// return the width of the columns
|
||||
// If no horz scrolling periphery is present, then just return our width
|
||||
if (width == 0) {
|
||||
width = aParts.mColumnsFrame->GetRect().width;
|
||||
mAdjustWidth = 0;
|
||||
width = mRect.width;
|
||||
} else {
|
||||
// Compute the adjustment to the last column. This varies depending on the
|
||||
// visibility of the columnpicker and the scrollbar.
|
||||
mAdjustWidth = mRect.width - aParts.mColumnsFrame->GetRect().width;
|
||||
}
|
||||
|
||||
// Compute the adjustment to the last column. This varies depending on the
|
||||
// visibility of the columnpicker and the scrollbar.
|
||||
mAdjustWidth = mRect.width - aParts.mColumnsFrame->GetRect().width;
|
||||
|
||||
return width;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче