nsIDocument *GetOwnerDoc()
nsIDocument *GetOwnerDoc() const
  nsIDocument *GetOwnerDoc()  {    nsIContent *content = GetContent();    return content ? content->GetOwnerDoc() : mNodeInfo->GetDocument();  }