NS_PRECONDITION(aNewFrame, "null OUT ptr"); if (nsnull == aNewFrame) { return NS_ERROR_NULL_POINTER; } nsTitleBarFrame* it = new (aPresShell) nsResizerFrame(aPresShell); if (nsnull == it) return NS_ERROR_OUT_OF_MEMORY;   *aNewFrame = it; return NS_OK;  }
return new (aPresShell) nsResizerFrame(aPresShell); }
NS_NewResizerFrame( nsIPresShell* aPresShell, nsIFrame** aNewFrame ){  NS_PRECONDITION(aNewFrame, "null OUT ptr");  if (nsnull == aNewFrame) {    return NS_ERROR_NULL_POINTER;  }  nsTitleBarFrame* it = new (aPresShell) nsResizerFrame(aPresShell);  if (nsnull == it)    return NS_ERROR_OUT_OF_MEMORY;  // it->SetFlags(aFlags);  *aNewFrame = it;  return NS_OK;  } // NS_NewTitleBarFrame