Back to index

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

Go to the source code of this file.

Functions

nsresult NS_NewDOMPageTransitionEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsPageTransitionEvent *aEvent)

Function Documentation

nsresult NS_NewDOMPageTransitionEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsPageTransitionEvent aEvent 
)

Definition at line 85 of file nsDOMPageTransitionEvent.cpp.

{
  nsDOMPageTransitionEvent* it =
    new nsDOMPageTransitionEvent(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: