*aGrad = nsnull;
nsSVGGlyphFrame::GetFillGradient(nsISVGGradient **aGrad){  nsresult rv = NS_OK;  if (!mFillGradient) {    nsIURI *aServer;    aServer = GetStyleSVG()->mFill.mPaint.mPaintServer;    if (aServer == nsnull)      return NS_ERROR_FAILURE;    // Now have the URI.  Get the gradient     rv = NS_GetSVGGradient(getter_AddRefs(mFillGradient), aServer, mContent,                            nsSVGGlyphFrameBase::GetPresContext()->PresShell());    NS_ADD_SVGVALUE_OBSERVER(mFillGradient);  }  *aGrad = mFillGradient;  return rv;}