TextFrame::QueryInterface(REFNSIID aIID, void** aInstancePtrResult) { NS_PRECONDITION(nsnull != aInstancePtrResult, "null pointer"); if (nsnull == aInstancePtrResult) { return NS_ERROR_NULL_POINTER; } if (aIID.Equals(kIInlineReflowIID)) { *aInstancePtrResult = (void*) ((nsIInlineReflow*)this); return NS_OK; } return nsFrame::QueryInterface(aIID, aInstancePtrResult); }
NS_IMPL_ISUPPORTS(BlinkTimer, kITimerCallbackIID);
TextFrame::QueryInterface(REFNSIID aIID, void** aInstancePtrResult){  NS_PRECONDITION(nsnull != aInstancePtrResult, "null pointer");  if (nsnull == aInstancePtrResult) {    return NS_ERROR_NULL_POINTER;  }  if (aIID.Equals(kIInlineReflowIID)) {    *aInstancePtrResult = (void*) ((nsIInlineReflow*)this);    return NS_OK;  }  return nsFrame::QueryInterface(aIID, aInstancePtrResult);}