Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsGroupBoxFrame.cpp File Reference
#include "nsBoxFrame.h"
#include "nsCSSRendering.h"
#include "nsStyleContext.h"

Go to the source code of this file.

Classes

class  nsGroupBoxFrame

Functions

nsresult NS_NewGroupBoxFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)

Function Documentation

nsresult NS_NewGroupBoxFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 95 of file nsGroupBoxFrame.cpp.

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

Here is the caller graph for this function: