nsresult rv; rv = nsSVGGFrameBase::Init(aPresContext, aContent, aParent, aContext, aPrevInFlow);  Init();  return rv;
nsCOMPtr<nsIDOMSVGTransformable> transformable = do_QueryInterface(mContent); NS_ASSERTION(transformable, "wrong content element"); nsCOMPtr<nsIDOMSVGAnimatedTransformList> transforms; transformable->GetTransform(getter_AddRefs(transforms)); nsCOMPtr<nsISVGValue> value = do_QueryInterface(transforms); NS_ASSERTION(value, "interface not found"); if (value) value->AddObserver(this); return NS_OK;
nsSVGGFrame::Init(nsIPresContext*  aPresContext,                  nsIContent*      aContent,                  nsIFrame*        aParent,                  nsIStyleContext* aContext,                  nsIFrame*        aPrevInFlow){  nsresult rv;  rv = nsSVGGFrameBase::Init(aPresContext, aContent, aParent,                             aContext, aPrevInFlow);  Init();    return rv;}