nsHTMLFrameInnerFrame::QueryInterface(REFNSIID aIID, void** aInstancePtr)
nsHTMLFrameOuterFrame::QueryInterface(const nsIID& aIID, void** aInstancePtr)
nsHTMLFrameInnerFrame::QueryInterface(REFNSIID aIID, void** aInstancePtr){  NS_ENSURE_ARG_POINTER(aInstancePtr);  if (aIID.Equals(NS_GET_IID(nsIWebProgressListener))) {    nsISupports *tmp = NS_STATIC_CAST(nsIWebProgressListener *, this);    *aInstancePtr = tmp;    return NS_OK;  }  if (aIID.Equals(NS_GET_IID(nsISupportsWeakReference))) {    nsISupports *tmp = NS_STATIC_CAST(nsISupportsWeakReference *, this);    *aInstancePtr = tmp;    return NS_OK;  }  return nsLeafFrame::QueryInterface(aIID, aInstancePtr);}