removed calls to deprecated nsString methods
git-svn-id: svn://10.0.0.236/trunk@62717 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3816,11 +3816,11 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
|
||||
PRBool done = PR_FALSE;
|
||||
while (!done && !token.IsEmpty()) {
|
||||
token.CompressWhitespace();
|
||||
if (millis == -1 && nsString::IsDigit(token.First())) {
|
||||
if (millis == -1 && nsCRT::IsAsciiDigit(token.First())) {
|
||||
PRInt32 i = 0;
|
||||
PRUnichar value = nsnull;
|
||||
while ((value = token[i++])) {
|
||||
if (!nsString::IsDigit(value)) {
|
||||
if (!nsCRT::IsAsciiDigit(value)) {
|
||||
i = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user