зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1398623 - Remove several unused variables in nsSprocketLayout::PopulateBoxSizes r=xidorn
MozReview-Commit-ID: 3VXaVgBhgTL --HG-- extra : rebase_source : 38808c5b559de7b42a5c965c2a689779c5e76e29
This commit is contained in:
Родитель
903a88d66e
Коммит
4cd174edb5
|
@ -736,7 +736,6 @@ nsSprocketLayout::PopulateBoxSizes(nsIFrame* aBox, nsBoxLayoutState& aState, nsB
|
|||
nsSize pref(0,0);
|
||||
nsSize minSize(0,0);
|
||||
nsSize maxSize(NS_INTRINSICSIZE,NS_INTRINSICSIZE);
|
||||
nscoord ascent = 0;
|
||||
bool collapsed = child->IsXULCollapsed();
|
||||
|
||||
if (!collapsed) {
|
||||
|
@ -747,10 +746,6 @@ nsSprocketLayout::PopulateBoxSizes(nsIFrame* aBox, nsBoxLayoutState& aState, nsB
|
|||
pref = child->GetXULPrefSize(aState);
|
||||
minSize = child->GetXULMinSize(aState);
|
||||
maxSize = nsBox::BoundsCheckMinMax(minSize, child->GetXULMaxSize(aState));
|
||||
ascent = child->GetXULBoxAscent(aState);
|
||||
nsMargin margin;
|
||||
child->GetXULMargin(margin);
|
||||
ascent += margin.top;
|
||||
//}
|
||||
|
||||
pref = nsBox::BoundsCheck(minSize, pref, maxSize);
|
||||
|
|
Загрузка…
Ссылка в новой задаче