printf("FrameManager::HandlePLEvent() start for FM %p\n", aEvent->owner);
PRINTF(("FrameManager::HandlePLEvent() start for FM %p\n", aEvent->owner));
FrameManager::HandlePLEvent(CantRenderReplacedElementEvent* aEvent) {#ifdef NOISY_EVENTS  printf("FrameManager::HandlePLEvent() start for FM %p\n", aEvent->owner);#endif  FrameManager* frameManager = (FrameManager*)aEvent->owner;    //adding a ptr check since talkback is complaining about a crash here.    //I suspect that if the event->owner is really null, bad things will happen    //elsewhere.  if(frameManager  &&  frameManager->CanProcessEvents()) {       // Remove the posted event from the linked list    CantRenderReplacedElementEvent** events = &frameManager->mPostedEvents;    while (*events) {      if (*events == aEvent) {        *events = (*events)->mNext;        break;      } else {        events = &(*events)->mNext;      }    }    // Notify the style system and then process any reflow commands that    // are generated    nsCOMPtr<nsIPresContext>  presContext;        frameManager->mPresShell->GetPresContext(getter_AddRefs(presContext));    frameManager->mStyleSet->CantRenderReplacedElement(presContext, aEvent->mFrame);          }#ifdef NOISY_EVENTS  printf("FrameManager::HandlePLEvent() end for FM %p\n", aEvent->owner);#endif}