Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSplitterFrame.h File Reference
#include "nsBoxFrame.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsSplitterFrame

Functions

nsresult NS_NewSplitterFrame (nsIPresShell *aPresShell, nsIFrame **aResult)

Function Documentation

nsresult NS_NewSplitterFrame ( nsIPresShell aPresShell,
nsIFrame **  aResult 
)

Definition at line 231 of file nsSplitterFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsSplitterFrame* it = new (aPresShell) nsSplitterFrame(aPresShell);
  if (nsnull == it)
    return NS_ERROR_OUT_OF_MEMORY;

  *aNewFrame = it;
  return NS_OK;
  
} // NS_NewSplitterFrame

Here is the caller graph for this function: