diff --git a/mozilla/layout/generic/nsInlineFrame.h b/mozilla/layout/generic/nsInlineFrame.h index 60c5f007bb9..442f9e86467 100644 --- a/mozilla/layout/generic/nsInlineFrame.h +++ b/mozilla/layout/generic/nsInlineFrame.h @@ -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(); diff --git a/mozilla/layout/html/base/src/nsInlineFrame.h b/mozilla/layout/html/base/src/nsInlineFrame.h index 60c5f007bb9..442f9e86467 100644 --- a/mozilla/layout/html/base/src/nsInlineFrame.h +++ b/mozilla/layout/html/base/src/nsInlineFrame.h @@ -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();