mRows->QueryInterface(NS_GET_IID(nsIDOMHTMLCollection), (void **)aValue);
*aValue = mRows; NS_ADDREF(*aValue);
nsHTMLTableElement::GetRows(nsIDOMHTMLCollection** aValue){  if (!mRows) {    // XXX why was this here NS_ADDREF(nsHTMLAtoms::tr);    mRows = new TableRowsCollection(this);    NS_ENSURE_TRUE(mRows, NS_ERROR_OUT_OF_MEMORY);    NS_ADDREF(mRows); // this table's reference, released in the destructor  }  mRows->QueryInterface(NS_GET_IID(nsIDOMHTMLCollection), (void **)aValue);  return NS_OK;}