зеркало из https://github.com/mozilla/pjs.git
Fix bustage (if CSS_REPORT_PARSE_ERRORS is defined) from scc's string branch landing. nsLiteralChar was removed, so use nsLocalString instead. r=disttsc@bart.nl sr=scc@mozilla.org
This commit is contained in:
Родитель
c355507eda
Коммит
2567905f44
|
@ -2348,9 +2348,12 @@ PRBool CSSParserImpl::ParseColorComponent(PRInt32& aErrorCode,
|
|||
aComponent = (PRUint8) value;
|
||||
return PR_TRUE;
|
||||
}
|
||||
PRUnichar stopString[2];
|
||||
stopString[0] = PRUnichar(aStop);
|
||||
stopString[1] = PRUnichar(0);
|
||||
REPORT_UNEXPECTED_TOKEN(NS_LITERAL_STRING("Expected ") +
|
||||
nsLiteralPRUnichar(PRUnichar(aStop)) +
|
||||
NS_LITERAL_STRING(" but found"));
|
||||
nsLocalString(stopString, 1) +
|
||||
NS_LITERAL_STRING(" but found"));
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -2348,9 +2348,12 @@ PRBool CSSParserImpl::ParseColorComponent(PRInt32& aErrorCode,
|
|||
aComponent = (PRUint8) value;
|
||||
return PR_TRUE;
|
||||
}
|
||||
PRUnichar stopString[2];
|
||||
stopString[0] = PRUnichar(aStop);
|
||||
stopString[1] = PRUnichar(0);
|
||||
REPORT_UNEXPECTED_TOKEN(NS_LITERAL_STRING("Expected ") +
|
||||
nsLiteralPRUnichar(PRUnichar(aStop)) +
|
||||
NS_LITERAL_STRING(" but found"));
|
||||
nsLocalString(stopString, 1) +
|
||||
NS_LITERAL_STRING(" but found"));
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче