Back to index

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

Go to the source code of this file.

Classes

class  nsSVGAnimatedRect

Functions

nsresult NS_NewSVGAnimatedRect (nsIDOMSVGAnimatedRect **result, nsIDOMSVGRect *baseVal)

Function Documentation

Definition at line 188 of file nsSVGAnimatedRect.cpp.

{
  *result = nsnull;
  
  nsSVGAnimatedRect* animatedRect = new nsSVGAnimatedRect();
  if(!animatedRect) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(animatedRect);

  animatedRect->Init(baseVal);
  
  *result = (nsIDOMSVGAnimatedRect*) animatedRect;
  
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: