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