Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsDOMMutationEvent.cpp File Reference
#include "nsCOMPtr.h"
#include "nsDOMMutationEvent.h"
#include "nsMutationEvent.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Functions

nsresult NS_NewDOMMutationEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsMutationEvent *aEvent)

Function Documentation

nsresult NS_NewDOMMutationEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsMutationEvent aEvent 
)

Definition at line 146 of file nsDOMMutationEvent.cpp.

{
  nsDOMMutationEvent* it = new nsDOMMutationEvent(aPresContext, aEvent);
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  return CallQueryInterface(it, aInstancePtrResult);
}

Here is the call graph for this function:

Here is the caller graph for this function: