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