return mDomSelection->QueryInterface(aIID, aInstancePtr);
if (NULL == aInstancePtr) { return NS_ERROR_NULL_POINTER; } if (aIID.Equals(nsIFrameSelection::GetIID())) { nsIFrameSelection* tmp = this; *aInstancePtr = (void*) tmp; NS_ADDREF_THIS(); return NS_OK; } if (aIID.Equals(nsCOMTypeInfo<nsISupports>::GetIID())) {  nsIFrameSelection* tmp1 = this; nsISupports* tmp2 = tmp1; *aInstancePtr = (void*) tmp2; NS_ADDREF_THIS(); return NS_OK; } NS_ASSERTION(PR_FALSE,"bad query interface in RangeList"); return NS_NOINTERFACE;
nsRangeListIterator::QueryInterface(REFNSIID aIID, void** aInstancePtr){  return mDomSelection->QueryInterface(aIID, aInstancePtr);}