Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsSVGAnimatedLength.h File Reference
#include "nsIDOMSVGAnimatedLength.h"
#include "nsIDOMSVGLength.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nsresult NS_NewSVGAnimatedLength (nsIDOMSVGAnimatedLength **result, nsIDOMSVGLength *baseVal)

Function Documentation

Definition at line 190 of file nsSVGAnimatedLength.cpp.

{
  *aResult = nsnull;
  
  nsSVGAnimatedLength* animatedLength = new nsSVGAnimatedLength();
  if(!animatedLength) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(animatedLength);

//  nsCOMPtr<nsIDOMSVGLength> baseVal;
//  NS_NewSVGLength(getter_AddRefs(baseVal), context);
  
  animatedLength->Init(baseVal);
  
  *aResult = (nsIDOMSVGAnimatedLength*) animatedLength;
  
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: