Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsSVGDefsFrame.cpp File Reference
#include "nsIDOMSVGRect.h"
#include "nsIDOMSVGGElement.h"
#include "nsPresContext.h"
#include "nsISVGOuterSVGFrame.h"
#include "nsISVGRendererCanvas.h"
#include "nsISVGValue.h"
#include "nsIDOMSVGTransformable.h"
#include "nsIDOMSVGAnimTransformList.h"
#include "nsIDOMSVGTransformList.h"
#include "nsSVGDefsFrame.h"
#include "nsSVGMatrix.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 55 of file nsSVGDefsFrame.cpp.

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

  *aNewFrame = it;

  return NS_OK;
}