return cmd->QueryInterface(NS_GET_IID(nsIReflowCommand), (void**)aInstancePtrResult);
NS_ADDREF(*aInstancePtrResult);  return NS_OK;
NS_NewHTMLReflowCommand(nsIReflowCommand**           aInstancePtrResult,                        nsIFrame*                    aTargetFrame,                        nsIReflowCommand::ReflowType aReflowType,                        nsIFrame*                    aChildFrame,                        nsIAtom*                     aAttribute){  NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");  if (nsnull == aInstancePtrResult) {    return NS_ERROR_NULL_POINTER;  }  nsHTMLReflowCommand* cmd = new nsHTMLReflowCommand(aTargetFrame, aReflowType, aChildFrame, aAttribute);  if (nsnull == cmd) {    return NS_ERROR_OUT_OF_MEMORY;  }  return cmd->QueryInterface(NS_GET_IID(nsIReflowCommand), (void**)aInstancePtrResult);}