Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include "nsHTMLEntities.h"
|
||||
#include "CParserContext.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
|
||||
/************************************************************************
|
||||
And now for the main class -- nsHTMLTokenizer...
|
||||
@@ -974,7 +975,7 @@ nsresult nsHTMLTokenizer::ConsumeSpecialMarkup(PRUnichar aChar,CToken*& aToken,n
|
||||
nsresult result=NS_OK;
|
||||
nsAutoString theBufCopy;
|
||||
aScanner.Peek(theBufCopy, 20);
|
||||
theBufCopy.ToUpperCase();
|
||||
ToUpperCase(theBufCopy);
|
||||
PRInt32 theIndex=theBufCopy.Find("DOCTYPE");
|
||||
nsTokenAllocator* theAllocator=this->GetTokenAllocator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user