mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1022667, part 4 - Remove some font related functions from gfxWindowsPlatform.cpp. r=jfkthame
This commit is contained in:
parent
c0a8b4c744
commit
62f18378c7
@ -283,14 +283,6 @@ public:
|
||||
|
||||
NS_IMPL_ISUPPORTS(GPUAdapterReporter, nsIMemoryReporter)
|
||||
|
||||
static __inline void
|
||||
BuildKeyNameFromFontName(nsAString &aName)
|
||||
{
|
||||
if (aName.Length() >= LF_FACESIZE)
|
||||
aName.Truncate(LF_FACESIZE - 1);
|
||||
ToLowerCase(aName);
|
||||
}
|
||||
|
||||
gfxWindowsPlatform::gfxWindowsPlatform()
|
||||
: mD3D11DeviceInitialized(false)
|
||||
, mPrefFonts(50)
|
||||
@ -696,14 +688,6 @@ gfxWindowsPlatform::GetFontList(nsIAtom *aLangGroup,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
static void
|
||||
RemoveCharsetFromFontSubstitute(nsAString &aName)
|
||||
{
|
||||
int32_t comma = aName.FindChar(char16_t(','));
|
||||
if (comma >= 0)
|
||||
aName.Truncate(comma);
|
||||
}
|
||||
|
||||
nsresult
|
||||
gfxWindowsPlatform::UpdateFontList()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user