printf("%p FrameManager::CantRenderReplacedElement called\n", this);
PRINTF(("%p FrameManager::CantRenderReplacedElement called\n", this));
FrameManager::CantRenderReplacedElement(nsIPresContext* aPresContext,                                        nsIFrame*       aFrame){#ifdef NOISY_EVENTS  printf("%p FrameManager::CantRenderReplacedElement called\n", this);#endif  nsIEventQueueService* eventService;  nsresult              rv;  // We need to notify the style stystem, but post the notification so it  // doesn't happen now  rv = nsServiceManager::GetService(kEventQueueServiceCID,                                    kIEventQueueServiceIID,                                    (nsISupports **)&eventService);  if (NS_SUCCEEDED(rv)) {    nsCOMPtr<nsIEventQueue> eventQueue;    rv = eventService->GetThreadEventQueue(NS_CURRENT_THREAD,                                            getter_AddRefs(eventQueue));    nsServiceManager::ReleaseService(kEventQueueServiceCID, eventService);    if (NS_SUCCEEDED(rv) && eventQueue) {#ifdef NS_DEBUG      // Verify that there isn't already a posted event associated with      // this frame      NS_ASSERTION(!*FindPostedEventFor(aFrame), "frame already has posted event");#endif      CantRenderReplacedElementEvent* ev;      // Create a new event      ev = new CantRenderReplacedElementEvent(this, aFrame);      // Add the event to our linked list of posted events      ev->mNext = mPostedEvents;      mPostedEvents = ev;      // Post the event      eventQueue->PostEvent(ev);    }  }  return rv;}