Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc

This commit is contained in:
Arpad Borsos
2009-05-12 12:13:09 +02:00
parent 9e56931f8a
commit 495906e0a3
16 changed files with 181 additions and 176 deletions

View File

@@ -164,16 +164,16 @@ protected:
virtual nscoord GetIntrinsicWidth();
virtual nscoord GetIntrinsicHeight();
// the prev and next neighbors are indexes into the row (for a horizontal border) or col (for
// a vertical border) of nsHTMLFramesetFrames or nsHTMLFrames
PRInt32 mPrevNeighbor;
PRInt32 mNextNeighbor;
nscolor mColor;
PRInt32 mWidth;
PRPackedBool mVertical;
PRPackedBool mVisibility;
PRPackedBool mVisibilityOverride;
nscolor mColor;
// the prev and next neighbors are indexes into the row (for a horizontal border) or col (for
// a vertical border) of nsHTMLFramesetFrames or nsHTMLFrames
PRInt32 mPrevNeighbor;
PRInt32 mNextNeighbor;
PRBool mCanResize;
PRPackedBool mCanResize;
friend class nsHTMLFramesetFrame;
};
/*******************************************************************************