Back to index

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

Go to the source code of this file.

Functions

nsresult NS_NewDOMSVGEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsEvent *aEvent)

Function Documentation

nsresult NS_NewDOMSVGEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsEvent aEvent 
)

Definition at line 80 of file nsDOMSVGEvent.cpp.

{
  nsDOMSVGEvent* it = new nsDOMSVGEvent(aPresContext, aEvent);
  if (!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: