mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato
This commit is contained in:
parent
74ce6aa434
commit
b4535f2aae
@ -2548,7 +2548,7 @@ bool
|
||||
ContentParent::RecvReadFontList(InfallibleTArray<FontListEntry>* retValue)
|
||||
{
|
||||
#ifdef ANDROID
|
||||
gfxAndroidPlatform::GetPlatform()->GetFontList(retValue);
|
||||
gfxAndroidPlatform::GetPlatform()->GetSystemFontList(retValue);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
@ -247,9 +247,9 @@ gfxAndroidPlatform::GetFontList(nsIAtom *aLangGroup,
|
||||
}
|
||||
|
||||
void
|
||||
gfxAndroidPlatform::GetFontList(InfallibleTArray<FontListEntry>* retValue)
|
||||
gfxAndroidPlatform::GetSystemFontList(InfallibleTArray<FontListEntry>* retValue)
|
||||
{
|
||||
gfxFT2FontList::PlatformFontList()->GetFontList(retValue);
|
||||
gfxFT2FontList::PlatformFontList()->GetSystemFontList(retValue);
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
GetScaledFontForFont(mozilla::gfx::DrawTarget* aTarget, gfxFont *aFont);
|
||||
|
||||
// to support IPC font list (sharing between chrome and content)
|
||||
void GetFontList(InfallibleTArray<FontListEntry>* retValue);
|
||||
void GetSystemFontList(InfallibleTArray<FontListEntry>* retValue);
|
||||
|
||||
// platform implementations of font functions
|
||||
virtual bool IsFontFormatSupported(nsIURI *aFontURI, uint32_t aFormatFlags);
|
||||
|
@ -1357,7 +1357,7 @@ AddHiddenFamilyToFontList(nsStringHashKey::KeyType aKey,
|
||||
}
|
||||
|
||||
void
|
||||
gfxFT2FontList::GetFontList(InfallibleTArray<FontListEntry>* retValue)
|
||||
gfxFT2FontList::GetSystemFontList(InfallibleTArray<FontListEntry>* retValue)
|
||||
{
|
||||
mFontFamilies.Enumerate(AddFamilyToFontList, retValue);
|
||||
mHiddenFontFamilies.Enumerate(AddHiddenFamilyToFontList, retValue);
|
||||
|
@ -134,7 +134,7 @@ public:
|
||||
const uint8_t* aFontData,
|
||||
uint32_t aLength);
|
||||
|
||||
void GetFontList(InfallibleTArray<FontListEntry>* retValue);
|
||||
void GetSystemFontList(InfallibleTArray<FontListEntry>* retValue);
|
||||
|
||||
static gfxFT2FontList* PlatformFontList() {
|
||||
return static_cast<gfxFT2FontList*>(gfxPlatformFontList::PlatformFontList());
|
||||
|
Loading…
Reference in New Issue
Block a user