NS_PRECONDITION(aNewFrame, "null OUT ptr"); if (nsnull == aNewFrame) { return NS_ERROR_NULL_POINTER; } nsScrollbarButtonFrame* it = new (aPresShell) nsScrollbarButtonFrame (aPresShell); if (nsnull == it) return NS_ERROR_OUT_OF_MEMORY;  *aNewFrame = it; return NS_OK;
return new (aPresShell) nsScrollbarButtonFrame (aPresShell);
NS_NewScrollbarButtonFrame ( nsIPresShell* aPresShell, nsIFrame** aNewFrame ){  NS_PRECONDITION(aNewFrame, "null OUT ptr");  if (nsnull == aNewFrame) {    return NS_ERROR_NULL_POINTER;  }  nsScrollbarButtonFrame* it = new (aPresShell) nsScrollbarButtonFrame (aPresShell);  if (nsnull == it)    return NS_ERROR_OUT_OF_MEMORY;  *aNewFrame = it;  return NS_OK;  } // NS_NewScrollBarButtonFrame