nsLiteralCString(url) +
nsDependentCString(url) +
CSSLoaderImpl::DidLoadStyle(nsIStreamLoader* aLoader,                            nsString* aStyleData,                            SheetLoadData* aLoadData,                            nsresult aStatus){#ifdef NS_DEBUG  NS_ASSERTION(! mSyncCallback, "getting synchronous callback from netlib");#endif  if (NS_SUCCEEDED(aStatus) && (aStyleData) && (0 < aStyleData->Length()) && (mDocument)) {    nsresult result;    nsIUnicharInputStream* uin = nsnull;    // wrap the string with the CSS data up in a unicode input stream.    result = NS_NewStringUnicharInputStream(&uin, aStyleData);    if (NS_SUCCEEDED(result)) {      // XXX We have no way of indicating failure. Silently fail?      PRBool completed;      nsICSSStyleSheet* sheet;      result = ParseSheet(uin, aLoadData, completed, sheet);      NS_IF_RELEASE(sheet);      NS_IF_RELEASE(uin);    }    else {      URLKey  key(aLoadData->mURL);      Cleanup(key, aLoadData);    }  }  else {  // load failed or document now gone, cleanup    #ifdef DEBUG    if (mDocument && NS_FAILED(aStatus)) {  // still have doc, must have failed      // Dump error message to console.      nsXPIDLCString url;      aLoadData->mURL->GetSpec(getter_Copies(url));      nsCAutoString errorMessage(NS_LITERAL_CSTRING("CSSLoaderImpl::DidLoadStyle: Load of URL '") +                                 nsLiteralCString(url) +                                 NS_LITERAL_CSTRING("' failed.  Error code: "));      errorMessage.AppendInt(NS_ERROR_GET_CODE(aStatus));      NS_WARNING(errorMessage.get());    }#endif    URLKey  key(aLoadData->mURL);    Cleanup(key, aLoadData);  }}