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:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user