Back to index

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

Go to the source code of this file.

Functions

nsresult NS_NewDOMTextEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsTextEvent *aEvent)

Function Documentation

nsresult NS_NewDOMTextEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsTextEvent aEvent 
)

Definition at line 131 of file nsDOMTextEvent.cpp.

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