if (nsLayoutAtoms::objectFrame == aFrame->GetType()) { AddLoadGroupRequest(); }
aPresShell->GetDocument()->BlockOnload();
CantRenderReplacedElementEvent::CantRenderReplacedElementEvent(PresShell* aPresShell,                                                               nsIFrame*  aFrame) :  mFrame(aFrame){  PL_InitEvent(this, aPresShell,               ::HandleCantRenderReplacedElementEvent,               ::DestroyCantRenderReplacedElementEvent);  // XXXbz why only for object frames?  if (nsLayoutAtoms::objectFrame == aFrame->GetType()) {    AddLoadGroupRequest();  }}