return !mCurrentEventContent->GetDocument();
return !aContent->GetDocument();
PRBool PresShell::InZombieDocument(nsIContent *aContent){  // If a content node points to a null document, it is possibly in a  // zombie document, about to be replaced by a newly loading document.  // Such documents cannot handle DOM events.  // It might actually be in a node not attached to any document,  // in which case there is not parent presshell to retarget it to.  // XXXbz shouldn't this use aContent->GetDocument?  Good thing we  // only call it on mCurrentEventContent....  return !mCurrentEventContent->GetDocument();}