mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
fixed unix build, and one small uninitialized variable problem
This commit is contained in:
parent
4bbedae459
commit
6e3192f275
@ -19,7 +19,7 @@
|
||||
#define nsCellMap_h__
|
||||
|
||||
#include "nscore.h"
|
||||
#include "CellData.h"
|
||||
#include "celldata.h"
|
||||
|
||||
class nsVoidArray;
|
||||
class nsTableColFrame;
|
||||
|
@ -333,7 +333,7 @@ nsresult nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext,
|
||||
{
|
||||
NS_PRECONDITION(nsnull != mFirstChild, "no children");
|
||||
|
||||
nsSize kidMaxElementSize;
|
||||
nsSize kidMaxElementSize(0,0);
|
||||
PRBool result = PR_TRUE;
|
||||
PRInt32 prevColIndex = -1; // remember the col index of the previous cell to handle rowspans into this row
|
||||
nsSize* pKidMaxElementSize = (nsnull != aDesiredSize.maxElementSize) ?
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define nsCellMap_h__
|
||||
|
||||
#include "nscore.h"
|
||||
#include "CellData.h"
|
||||
#include "celldata.h"
|
||||
|
||||
class nsVoidArray;
|
||||
class nsTableColFrame;
|
||||
|
@ -333,7 +333,7 @@ nsresult nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext,
|
||||
{
|
||||
NS_PRECONDITION(nsnull != mFirstChild, "no children");
|
||||
|
||||
nsSize kidMaxElementSize;
|
||||
nsSize kidMaxElementSize(0,0);
|
||||
PRBool result = PR_TRUE;
|
||||
PRInt32 prevColIndex = -1; // remember the col index of the previous cell to handle rowspans into this row
|
||||
nsSize* pKidMaxElementSize = (nsnull != aDesiredSize.maxElementSize) ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user