зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 107575, files which didn't land the first time (I was working off the wrong patch file) r=dougt, sr=jag, a=scc
This commit is contained in:
Родитель
20fb555d31
Коммит
b90e3425b4
|
@ -821,7 +821,8 @@ PRUint32 FontNameKey::HashCode(void) const
|
|||
|
||||
PRBool FontNameKey::Equals(const nsHashKey *aKey) const
|
||||
{
|
||||
return mString.EqualsIgnoreCase(((FontNameKey*)aKey)->mString);
|
||||
return mString.Equals(((FontNameKey*)aKey)->mString,
|
||||
nsCaseInsensitiveStringComparator());
|
||||
}
|
||||
|
||||
nsHashKey* FontNameKey::Clone(void) const
|
||||
|
|
|
@ -241,7 +241,8 @@ nsresult nsDateTimeFormatMac::Initialize(nsILocale* locale)
|
|||
|
||||
// use cached info if match with stored locale
|
||||
if (NULL == locale) {
|
||||
if (mLocale.Length() && mLocale.EqualsIgnoreCase(mAppLocale)) {
|
||||
if (mLocale.Length() &&
|
||||
mLocale.Equals(mAppLocale, nsCaseInsensitiveStringComparator())) {
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче