((aBlockParser) ? mParser : nsnull),
((blockParser) ? mParser : nsnull),
HTMLContentSink::ProcessStyleLink(nsIHTMLContent* aElement,                                  const nsString& aHref, const nsString& aRel,                                  const nsString& aTitle, const nsString& aType,                                  const nsString& aMedia, PRBool aBlockParser){  nsresult result = NS_OK;  if (aRel.EqualsIgnoreCase("stylesheet") ||       ((aRel.EqualsIgnoreCase("alternate stylesheet") ||        aRel.EqualsIgnoreCase("stylesheet alternate")) &&        (0 < aTitle.Length()))) {    if ((0 == aType.Length()) || aType.EqualsIgnoreCase("text/css")) {      nsIURL* url = nsnull;      nsIURLGroup* urlGroup = nsnull;      mDocumentBaseURL->GetURLGroup(&urlGroup);      if (urlGroup) {        result = urlGroup->CreateURL(&url, mDocumentBaseURL, aHref, nsnull);        NS_RELEASE(urlGroup);      }      else {        result = NS_NewURL(&url, aHref, mDocumentBaseURL);      }      if (NS_OK != result) {        return NS_OK; // The URL is bad, move along, don't propogate the error (for now)      }      if (aRel.EqualsIgnoreCase("stylesheet")) {        if (0 < aTitle.Length()) {  // possibly preferred sheet          if (0 == mPreferredStyle.Length()) {            mPreferredStyle = aTitle;            mCSSLoader->SetPreferredSheet(aTitle);            mDocument->SetHeaderData(nsHTMLAtoms::headerDefaultStyle, aTitle);          }        }      }      PRBool doneLoading;      result = mCSSLoader->LoadStyleLink(aElement, url, aTitle, aMedia,                                         mStyleSheetCount++,                                         ((aBlockParser) ? mParser : nsnull),                                        doneLoading);      NS_RELEASE(url);      if (NS_SUCCEEDED(result) && aBlockParser && (! doneLoading)) {        result = NS_ERROR_HTMLPARSER_BLOCK;      }    }  }  return result;}