From 9518b8280d7caf5b81ca01a75ff430ca1842eef9 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Wed, 24 Apr 2002 04:03:49 +0000 Subject: [PATCH] #124164 r=pedemont, sr=blizzard OS/2 only - get rid of OS/2 specific setting of form fonts git-svn-id: svn://10.0.0.236/trunk@119683 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/src/nsRuleNode.cpp | 9 --------- mozilla/layout/style/nsRuleNode.cpp | 9 --------- 2 files changed, 18 deletions(-) diff --git a/mozilla/content/base/src/nsRuleNode.cpp b/mozilla/content/base/src/nsRuleNode.cpp index 92ca11feb4c..1f20134ee25 100644 --- a/mozilla/content/base/src/nsRuleNode.cpp +++ b/mozilla/content/base/src/nsRuleNode.cpp @@ -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 // diff --git a/mozilla/layout/style/nsRuleNode.cpp b/mozilla/layout/style/nsRuleNode.cpp index 92ca11feb4c..1f20134ee25 100644 --- a/mozilla/layout/style/nsRuleNode.cpp +++ b/mozilla/layout/style/nsRuleNode.cpp @@ -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 //