Uninitialized memory fix.

-r scc
This commit is contained in:
evaughan%netscape.com 2000-03-31 22:41:18 +00:00
parent 2e24f230da
commit 52a7762610

View File

@ -373,8 +373,8 @@ nsScrollPortFrame::GetPrefSize(nsBoxLayoutState& aBoxLayoutState, nsSize& aSize)
NS_IMETHODIMP
nsScrollPortFrame::GetMinSize(nsBoxLayoutState& aBoxLayoutState, nsSize& aSize)
{
nsIBox* child = nsnull;
GetChildBox(&child);
aSize.width = 0;
aSize.height = 0;
AddBorderAndPadding(aSize);
AddInset(aSize);
nsIBox::AddCSSMinSize(aBoxLayoutState, this, aSize);