nsresult rv = nsBlockFrameSuper::Init(aPresContext, aContent, aParent, aContext, aPrevInFlow); return rv;
const nsStyleDisplay* styleDisplay; GetStyleData(eStyleStruct_Display, (const nsStyleStruct*&) styleDisplay); if ((nsnull == mPrevInFlow) && (NS_STYLE_DISPLAY_LIST_ITEM == styleDisplay->mDisplay) && (nsnull == mBullet)) {  mBullet = new BulletFrame(mContent, this); if (nsnull == mBullet) { return NS_ERROR_OUT_OF_MEMORY; }   nsIStyleContext* kidSC; kidSC = aPresContext.ResolvePseudoStyleContextFor(mContent, nsHTMLAtoms::bulletPseudo, mStyleContext); mBullet->SetStyleContext(&aPresContext, kidSC); NS_RELEASE(kidSC);    const nsStyleList* styleList; GetStyleData(eStyleStruct_List, (const nsStyleStruct*&) styleList); if (NS_STYLE_LIST_STYLE_POSITION_INSIDE == styleList->mListStylePosition) { InsertNewFrame(aPresContext, this, mBullet, nsnull); } }   if (nsnull == mPrevInFlow) { mFirstLineStyle = aPresContext. ProbePseudoStyleContextFor(mContent, nsHTMLAtoms::firstLinePseudo, mStyleContext); #if 0 mFirstLetterStyle = aPresContext. ProbePseudoStyleContextFor(mContent, nsHTMLAtoms::firstLetterPseudo, (nsnull != mFirstLineStyle ? mFirstLineStyle : mStyleContext)); #else mFirstLetterStyle = nsnull; #endif }  return NS_OK;
nsBlockFrame::Init(nsIPresContext*  aPresContext,                   nsIContent*      aContent,                   nsIFrame*        aParent,                   nsStyleContext*  aContext,                   nsIFrame*        aPrevInFlow){  if (aPrevInFlow) {    // Copy over the block/area frame type flags    nsBlockFrame*  blockFrame = (nsBlockFrame*)aPrevInFlow;    SetFlags(blockFrame->mState & NS_BLOCK_FLAGS_MASK);  }  nsresult rv = nsBlockFrameSuper::Init(aPresContext, aContent, aParent,                                        aContext, aPrevInFlow);  return rv;}