gecko-dev/intl/locale
Nicholas Nethercote 3e439bb4f8 Bug 1376638 - Minimize uses of prmem.h. r=glandium.
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)

This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.

--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
..
android
gtk
mac
tests
unix
windows
DateTimeFormat.cpp
DateTimeFormat.h
DateTimeFormatAndroid.cpp
LocaleService.cpp
LocaleService.h
OSPreferences.cpp
OSPreferences.h
PluralForm.jsm
encodingsgroups.properties
langGroups.properties
language.properties
moz.build
mozILocaleService.idl
mozIOSPreferences.idl
nsCollation.cpp Bug 1376638 - Minimize uses of prmem.h. r=glandium. 2017-06-30 19:05:41 -07:00
nsCollation.h
nsCollationAndroid.cpp Bug 1376638 - Minimize uses of prmem.h. r=glandium. 2017-06-30 19:05:41 -07:00
nsCollationCID.h
nsCollationFactory.cpp
nsCollationFactory.h
nsICollation.idl
nsILocale.idl
nsILocaleService.idl
nsIPlatformCharset.h
nsIScriptableDateFormat.idl
nsLanguageAtomService.cpp Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsLanguageAtomService.h Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsLocale.cpp
nsLocale.h
nsLocaleConstructors.h
nsLocaleService.cpp
nsPlatformCharset.h
nsPosixLocale.h
nsScriptableDateFormat.cpp
nsUConvPropertySearch.cpp
nsUConvPropertySearch.h
nsWin32Locale.h
props2arrays.py