mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
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:
parent
1c76b720e1
commit
73f742e57a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user