Bug 1358297: Part 4. Optimize Strip/CompressWhitespace as a special case using ASCIIMask. r=froydnj

MozReview-Commit-ID: H43rS5WN5Ly
This commit is contained in:
Milan Sreckovic
2017-05-05 13:40:31 -04:00
parent 09ead5e859
commit c47b6a47c4
2 changed files with 50 additions and 14 deletions

View File

@@ -540,8 +540,6 @@ StripChars2(char16_t* aString,uint32_t aLength,const char* aSet) {
/* ***** END RICKG BLOCK ***** */
static const char* kWhitespace="\f\t\r\n ";
// This function is used to implement FindCharInSet and friends
template <class CharT>
#ifndef __SUNPRO_CC