nsCOMPtr<nsIDocument> doc; aDocumentInfo->GetDocument(getter_AddRefs(doc));  nsCAutoString str; doc->GetDocumentURL()->GetSpec(str);  mDocumentTable.Remove(str);
mDocumentTable.Remove(aDocumentInfo->DocumentURI());
nsBindingManager::RemoveXBLDocumentInfo(nsIXBLDocumentInfo* aDocumentInfo){  if (!mDocumentTable.mHashTable.ops)    return NS_OK;  nsCOMPtr<nsIDocument> doc;  aDocumentInfo->GetDocument(getter_AddRefs(doc));  nsCAutoString str;  doc->GetDocumentURL()->GetSpec(str);  mDocumentTable.Remove(str);  return NS_OK;}