bug 32238 (UMR in inline reflow context)

all I did was initialize the members of a struct in the constructor
r=troy


git-svn-id: svn://10.0.0.236/trunk@63496 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
2000-03-20 23:47:01 +00:00
parent f729b6d30d
commit 4b5799a85f
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();