зеркало из https://github.com/mozilla/gecko-dev.git
Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms.
This commit is contained in:
Родитель
6f55b65329
Коммит
cd66e519ad
|
@ -98,14 +98,6 @@ ToLowerCase( nsAString& aString )
|
|||
copy_string(aString.BeginWriting(fromBegin), aString.EndWriting(fromEnd), converter);
|
||||
}
|
||||
|
||||
void
|
||||
ToLowerCase( nsASingleFragmentString& aString )
|
||||
{
|
||||
ConvertToLowerCase converter;
|
||||
PRUnichar* start;
|
||||
converter.write(aString.BeginWriting(start), aString.Length());
|
||||
}
|
||||
|
||||
class CopyToLowerCase
|
||||
{
|
||||
public:
|
||||
|
@ -165,14 +157,6 @@ ToUpperCase( nsAString& aString )
|
|||
copy_string(aString.BeginWriting(fromBegin), aString.EndWriting(fromEnd), converter);
|
||||
}
|
||||
|
||||
void
|
||||
ToUpperCase( nsASingleFragmentString& aString )
|
||||
{
|
||||
ConvertToUpperCase converter;
|
||||
PRUnichar* start;
|
||||
converter.write(aString.BeginWriting(start), aString.Length());
|
||||
}
|
||||
|
||||
class CopyToUpperCase
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -21,14 +21,11 @@
|
|||
*/
|
||||
|
||||
#include "nsAString.h"
|
||||
#include "nsASingleFragmentString.h"
|
||||
|
||||
// to be turned on as a part of bug 100214
|
||||
//#if 0
|
||||
void ToLowerCase( nsAString& );
|
||||
void ToUpperCase( nsAString& );
|
||||
|
||||
void ToLowerCase( nsASingleFragmentString& );
|
||||
void ToUpperCase( nsASingleFragmentString& );
|
||||
|
||||
void ToLowerCase( const nsAString& aSource, nsAString& aDest );
|
||||
void ToUpperCase( const nsAString& aSource, nsAString& aDest );
|
||||
|
||||
|
@ -43,6 +40,8 @@ class nsCaseInsensitiveStringComparator
|
|||
};
|
||||
|
||||
|
||||
//#endif
|
||||
|
||||
PRUnichar ToUpperCase(PRUnichar);
|
||||
PRUnichar ToLowerCase(PRUnichar);
|
||||
|
||||
|
|
|
@ -35,10 +35,6 @@
|
|||
#include "nsAString.h"
|
||||
#endif
|
||||
|
||||
#ifndef nsASingleFragmentString_h___
|
||||
#include "nsASingleFragmentString.h"
|
||||
#endif
|
||||
|
||||
#ifndef nsAStringGenerator_h___
|
||||
#include "nsAStringGenerator.h"
|
||||
#endif
|
||||
|
@ -178,10 +174,6 @@ NS_COM void ToUpperCase( nsACString& );
|
|||
|
||||
NS_COM void ToLowerCase( nsACString& );
|
||||
|
||||
NS_COM void ToUpperCase( nsASingleFragmentCString& );
|
||||
|
||||
NS_COM void ToLowerCase( nsASingleFragmentCString& );
|
||||
|
||||
/**
|
||||
* Converts case from string aSource to aDest.
|
||||
*/
|
||||
|
|
|
@ -371,14 +371,6 @@ ToUpperCase( nsACString& aCString )
|
|||
copy_string(aCString.BeginWriting(fromBegin), aCString.EndWriting(fromEnd), converter);
|
||||
}
|
||||
|
||||
NS_COM
|
||||
void
|
||||
ToUpperCase( nsASingleFragmentCString& aCString )
|
||||
{
|
||||
ConvertToUpperCase converter;
|
||||
char* start;
|
||||
converter.write(aCString.BeginWriting(start), aCString.Length());
|
||||
}
|
||||
|
||||
/**
|
||||
* A character sink for copying with case conversion.
|
||||
|
@ -457,15 +449,6 @@ ToLowerCase( nsACString& aCString )
|
|||
copy_string(aCString.BeginWriting(fromBegin), aCString.EndWriting(fromEnd), converter);
|
||||
}
|
||||
|
||||
NS_COM
|
||||
void
|
||||
ToLowerCase( nsASingleFragmentCString& aCString )
|
||||
{
|
||||
ConvertToLowerCase converter;
|
||||
char* start;
|
||||
converter.write(aCString.BeginWriting(start), aCString.Length());
|
||||
}
|
||||
|
||||
/**
|
||||
* A character sink for copying with case conversion.
|
||||
*/
|
||||
|
|
|
@ -35,10 +35,6 @@
|
|||
#include "nsAString.h"
|
||||
#endif
|
||||
|
||||
#ifndef nsASingleFragmentString_h___
|
||||
#include "nsASingleFragmentString.h"
|
||||
#endif
|
||||
|
||||
#ifndef nsAStringGenerator_h___
|
||||
#include "nsAStringGenerator.h"
|
||||
#endif
|
||||
|
@ -178,10 +174,6 @@ NS_COM void ToUpperCase( nsACString& );
|
|||
|
||||
NS_COM void ToLowerCase( nsACString& );
|
||||
|
||||
NS_COM void ToUpperCase( nsASingleFragmentCString& );
|
||||
|
||||
NS_COM void ToLowerCase( nsASingleFragmentCString& );
|
||||
|
||||
/**
|
||||
* Converts case from string aSource to aDest.
|
||||
*/
|
||||
|
|
|
@ -371,14 +371,6 @@ ToUpperCase( nsACString& aCString )
|
|||
copy_string(aCString.BeginWriting(fromBegin), aCString.EndWriting(fromEnd), converter);
|
||||
}
|
||||
|
||||
NS_COM
|
||||
void
|
||||
ToUpperCase( nsASingleFragmentCString& aCString )
|
||||
{
|
||||
ConvertToUpperCase converter;
|
||||
char* start;
|
||||
converter.write(aCString.BeginWriting(start), aCString.Length());
|
||||
}
|
||||
|
||||
/**
|
||||
* A character sink for copying with case conversion.
|
||||
|
@ -457,15 +449,6 @@ ToLowerCase( nsACString& aCString )
|
|||
copy_string(aCString.BeginWriting(fromBegin), aCString.EndWriting(fromEnd), converter);
|
||||
}
|
||||
|
||||
NS_COM
|
||||
void
|
||||
ToLowerCase( nsASingleFragmentCString& aCString )
|
||||
{
|
||||
ConvertToLowerCase converter;
|
||||
char* start;
|
||||
converter.write(aCString.BeginWriting(start), aCString.Length());
|
||||
}
|
||||
|
||||
/**
|
||||
* A character sink for copying with case conversion.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче