Bug 716408 - Initialize all bits of mBits to zero. r=bernd

This commit is contained in:
Mats Palmgren 2012-01-17 00:38:10 +01:00
parent 658d5cb257
commit f68098c935

View File

@ -188,12 +188,7 @@ nsTableFrame::nsTableFrame(nsStyleContext* aContext)
mCellMap(nsnull),
mTableLayoutStrategy(nsnull)
{
mBits.mHaveReflowedColGroups = false;
mBits.mCellSpansPctCol = false;
mBits.mNeedToCalcBCBorders = false;
mBits.mIsBorderCollapse = false;
mBits.mResizedColumns = false; // only really matters if splitting
mBits.mGeometryDirty = false;
memset(&mBits, 0, sizeof(mBits));
}
NS_QUERYFRAME_HEAD(nsTableFrame)