bug 32238 (UMR in inline reflow context)

all I did was initialize the members of a struct in the constructor
r=troy
This commit is contained in:
buster%netscape.com 2000-03-20 23:47:01 +00:00
parent 1c76b720e1
commit 73f742e57a
2 changed files with 14 additions and 0 deletions

View File

@ -96,6 +96,13 @@ protected:
nsInlineFrame* mNextInFlow;
PRBool mSetParentPointer; // when reflowing child frame first set its
// parent frame pointer
InlineReflowState() {
mNextRCFrame = nsnull;
mPrevFrame = nsnull;
mNextInFlow = nsnull;
mSetParentPointer = PR_TRUE;
};
};
nsInlineFrame();

View File

@ -96,6 +96,13 @@ protected:
nsInlineFrame* mNextInFlow;
PRBool mSetParentPointer; // when reflowing child frame first set its
// parent frame pointer
InlineReflowState() {
mNextRCFrame = nsnull;
mPrevFrame = nsnull;
mNextInFlow = nsnull;
mSetParentPointer = PR_TRUE;
};
};
nsInlineFrame();