Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSVGAnimatedLengthList.cpp File Reference
#include "nsSVGAnimatedLengthList.h"
#include "nsSVGLengthList.h"
#include "nsSVGValue.h"
#include "nsWeakReference.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Classes

class  nsSVGAnimatedLengthList

Functions

nsresult NS_NewSVGAnimatedLengthList (nsIDOMSVGAnimatedLengthList **result, nsIDOMSVGLengthList *baseVal)

Function Documentation

Definition at line 190 of file nsSVGAnimatedLengthList.cpp.

{
  *result = nsnull;
  
  nsSVGAnimatedLengthList* animatedLengthList = new nsSVGAnimatedLengthList();
  if(!animatedLengthList) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(animatedLengthList);

  animatedLengthList->Init(baseVal);
  
  *result = (nsIDOMSVGAnimatedLengthList*) animatedLengthList;
  
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: