mFrame = aFrame;
aFrame->GetContent(&content); mContent = content;
CantRenderReplacedElementEvent::CantRenderReplacedElementEvent(PresShell* aShell,                                                               nsIFrame*  aFrame){  mShell = aShell;  NS_ADDREF(mShell);  mFrame = aFrame;  PL_InitEvent(this, nsnull, (PLHandleEventProc)::HandlePLEvent,               (PLDestroyEventProc)::DestroyPLEvent);}