Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsSVGGenericContainerFrame.cpp File Reference
#include "nsSVGGenericContainerFrame.h"

Go to the source code of this file.

Functions

nsresult NS_NewSVGGenericContainerFrame (nsIPresShell *aPresShell, nsIContent *aContent, nsIFrame **aNewFrame)

Function Documentation

nsresult NS_NewSVGGenericContainerFrame ( nsIPresShell aPresShell,
nsIContent aContent,
nsIFrame **  aNewFrame 
)

Definition at line 45 of file nsSVGGenericContainerFrame.cpp.

{
  nsSVGGenericContainerFrame* it = new (aPresShell) nsSVGGenericContainerFrame;
  if (nsnull == it)
    return NS_ERROR_OUT_OF_MEMORY;

  *aNewFrame = it;

  return NS_OK;
}