зеркало из https://github.com/mozilla/gecko-dev.git
bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett
This commit is contained in:
Родитель
381071a7d1
Коммит
5058eb564c
|
@ -1428,7 +1428,7 @@ gfxFontGroup::BuildFontList()
|
||||||
{
|
{
|
||||||
// "#if" to be removed once all platforms are moved to gfxPlatformFontList interface
|
// "#if" to be removed once all platforms are moved to gfxPlatformFontList interface
|
||||||
// and subclasses of gfxFontGroup eliminated
|
// and subclasses of gfxFontGroup eliminated
|
||||||
#if defined(XP_MACOSX) || defined(XP_WIN)
|
#if defined(XP_MACOSX) || (defined(XP_WIN) && !defined(WINCE))
|
||||||
ForEachFont(FindPlatformFont, this);
|
ForEachFont(FindPlatformFont, this);
|
||||||
|
|
||||||
if (mFonts.Length() == 0) {
|
if (mFonts.Length() == 0) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче