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 //