Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXMLEventsElement.cpp File Reference
#include "nsXMLElement.h"
#include "nsHTMLAtoms.h"
#include "nsIDocument.h"

Go to the source code of this file.

Classes

class  nsXMLEventsElement

Functions

nsresult NS_NewXMLEventsElement (nsIContent **aInstancePtrResult, nsINodeInfo *aNodeInfo)

Function Documentation

nsresult NS_NewXMLEventsElement ( nsIContent **  aInstancePtrResult,
nsINodeInfo aNodeInfo 
)

Definition at line 86 of file nsXMLEventsElement.cpp.

{
  nsXMLEventsElement* it = new nsXMLEventsElement(aNodeInfo);
  if (!it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  NS_ADDREF(*aInstancePtrResult = it);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: