nsHTMLFrameOuterFrame::QueryInterface(const nsIID& aIID, void** aInstancePtr) { NS_PRECONDITION(0 != aInstancePtr, "null ptr"); if (NULL == aInstancePtr) { return NS_ERROR_NULL_POINTER; }  if (aIID.Equals(NS_GET_IID(nsIFrameFrame))) { nsISupports *tmp = NS_STATIC_CAST(nsIFrameFrame *, this); *aInstancePtr = tmp; return NS_OK; }  return nsHTMLFrameOuterFrameSuper::QueryInterface(aIID, aInstancePtr); }
NS_IMPL_ISUPPORTS0(FrameLoadingInfo)
nsHTMLFrameOuterFrame::QueryInterface(const nsIID& aIID, void** aInstancePtr){  NS_PRECONDITION(0 != aInstancePtr, "null ptr");  if (NULL == aInstancePtr) {    return NS_ERROR_NULL_POINTER;  }  if (aIID.Equals(NS_GET_IID(nsIFrameFrame))) {    nsISupports *tmp = NS_STATIC_CAST(nsIFrameFrame *, this);    *aInstancePtr = tmp;    return NS_OK;  }  return nsHTMLFrameOuterFrameSuper::QueryInterface(aIID, aInstancePtr);}