if (nsnull == aHint) {
if (nsnull != aHint) {
CSSParserImpl::ParseAndAppendDeclaration(const nsString&    aBuffer,                                         nsIURL*            aBaseURL,                                         nsICSSDeclaration* aDeclaration,                                         PRInt32*           aHint){  nsString* str = new nsString(aBuffer);  if (nsnull == str) {    return NS_ERROR_OUT_OF_MEMORY;  }  nsIUnicharInputStream* input = nsnull;  nsresult rv = NS_NewStringUnicharInputStream(&input, str);  if (NS_OK != rv) {    return rv;  }  mScanner = new nsCSSScanner();  mScanner->Init(input);  NS_RELEASE(input);  mURL = aBaseURL;  NS_IF_ADDREF(mURL);  mInHead = PR_FALSE;  PRInt32 errorCode = NS_OK;  PRInt32 hint = NS_STYLE_HINT_UNKNOWN;  ParseDeclaration(errorCode, aDeclaration, PR_FALSE, hint);    if (nsnull == aHint) {    *aHint = hint;  }  delete mScanner;  mScanner = nsnull;  NS_IF_RELEASE(mURL);  return NS_OK;}