nsCOMPtr<nsIURI> uri; doc->GetDocumentURL(getter_AddRefs(uri));
nsBindingManager::PutXBLDocumentInfo(nsIXBLDocumentInfo* aDocumentInfo){  if (!mDocumentTable.mHashTable.ops)    mDocumentTable.Init(16);  nsCOMPtr<nsIDocument> doc;  aDocumentInfo->GetDocument(getter_AddRefs(doc));  nsCOMPtr<nsIURI> uri;  doc->GetDocumentURL(getter_AddRefs(uri));  nsCAutoString str;  uri->GetSpec(str);  StringToObjectEntry* entry = mDocumentTable.AddEntry(str);  if (!entry) return NS_ERROR_OUT_OF_MEMORY;  entry->SetValue(aDocumentInfo);  return NS_OK;}