Back to index

lightning-sunbird  0.9+nobinonly
Classes | Typedefs | Functions
nsXTFSVGDisplayFrame.cpp File Reference
#include "nsCOMPtr.h"
#include "nsContainerFrame.h"
#include "nsPresContext.h"
#include "nsISupportsArray.h"
#include "nsSVGGenericContainerFrame.h"
#include "nsIXTFVisualWrapperPrivate.h"
#include "nsIAnonymousContentCreator.h"

Go to the source code of this file.

Classes

class  nsXTFSVGDisplayFrame

Typedefs

typedef nsSVGGenericContainerFrame nsXTFSVGDisplayFrameBase

Functions

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

Typedef Documentation

Definition at line 47 of file nsXTFSVGDisplayFrame.cpp.


Function Documentation

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

Definition at line 78 of file nsXTFSVGDisplayFrame.cpp.

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

  *aNewFrame = it;

  return NS_OK;
}