if (mNextGradStr.Length() == 0) { return PR_FALSE; }   nsCAutoString aGradStr; CopyUTF16toUTF8(mNextGradStr, aGradStr);   if (GetSVGGradient(&mNextGrad, aGradStr, mContent, GetPresContext()->PresShell()) == NS_OK) { return PR_TRUE; } return PR_FALSE;
return checkURITarget();
nsSVGGradientFrame::checkURITarget(void) {  // Have we already figured out the next Gradient?  if (mNextGrad != nsnull) {    return PR_TRUE;  }  // Do we have URI?  if (mNextGradStr.Length() == 0) {    return PR_FALSE; // No, return the default  }  // Get the Gradient  nsCAutoString aGradStr;  CopyUTF16toUTF8(mNextGradStr, aGradStr);  // Note that we are using *our* frame tree for this call, otherwise we're going to have  // to get the PresShell in each call  if (GetSVGGradient(&mNextGrad, aGradStr, mContent, GetPresContext()->PresShell()) == NS_OK) {    return PR_TRUE;  }  return PR_FALSE;}