зеркало из https://github.com/mozilla/gecko-dev.git
r=pedemont, sr=blizzard OS/2 only - get rid of OS/2 specific setting of form fonts
This commit is contained in:
Родитель
76fbc8c732
Коммит
8057eac190
|
@ -1891,15 +1891,6 @@ SetFont(nsIPresContext* aPresContext, nsIStyleContext* aContext,
|
|||
|
||||
// XXXldb All of this platform-specific stuff should be in the
|
||||
// nsIDeviceContext implementations, not here.
|
||||
#if defined(XP_OS2)
|
||||
switch (sysID) {
|
||||
case eSystemFont_List:
|
||||
case eSystemFont_Button:
|
||||
case eSystemFont_Field:
|
||||
aFont->mFont.name = defaultVariableFont->name;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
//
|
||||
|
|
|
@ -1891,15 +1891,6 @@ SetFont(nsIPresContext* aPresContext, nsIStyleContext* aContext,
|
|||
|
||||
// XXXldb All of this platform-specific stuff should be in the
|
||||
// nsIDeviceContext implementations, not here.
|
||||
#if defined(XP_OS2)
|
||||
switch (sysID) {
|
||||
case eSystemFont_List:
|
||||
case eSystemFont_Button:
|
||||
case eSystemFont_Field:
|
||||
aFont->mFont.name = defaultVariableFont->name;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
//
|
||||
|
|
Загрузка…
Ссылка в новой задаче