Bug 1418899 - Part 1: Remove some unused method declarations on nsRuleNode. r=TYLin draft
authorCameron McCormack <cam@mcc.id.au>
Mon, 20 Nov 2017 13:09:16 +0800
changeset 701031 2a007a693f125d383d2e5b66c53132d2903c7865
parent 701030 73adf0fb4928498dfe28c722e3273b598784d694
child 701032 26031748b63044676a2e8620053bfb7dc6c52b18
push id90037
push userbmo:cam@mcc.id.au
push dateTue, 21 Nov 2017 04:39:57 +0000
reviewersTYLin
bugs1418899
milestone59.0a1
Bug 1418899 - Part 1: Remove some unused method declarations on nsRuleNode. r=TYLin MozReview-Commit-ID: FOBOjJRJCea
layout/style/nsRuleNode.h
--- a/layout/style/nsRuleNode.h
+++ b/layout/style/nsRuleNode.h
@@ -1081,24 +1081,16 @@ public:
 
   static void ComputeFontVariations(const nsCSSValuePairList* aVariationsList,
                                     nsTArray<gfxFontVariation>& aVariationSettings);
 
   static nscoord CalcFontPointSize(int32_t aHTMLSize, int32_t aBasePointSize,
                                    nsPresContext* aPresContext,
                                    nsFontSizeType aFontSizeType = eFontSize_HTML);
 
-  static nscoord FindNextSmallerFontSize(nscoord aFontSize, int32_t aBasePointSize,
-                                         nsPresContext* aPresContext,
-                                         nsFontSizeType aFontSizeType = eFontSize_HTML);
-
-  static nscoord FindNextLargerFontSize(nscoord aFontSize, int32_t aBasePointSize,
-                                        nsPresContext* aPresContext,
-                                        nsFontSizeType aFontSizeType = eFontSize_HTML);
-
   static uint32_t ParseFontLanguageOverride(const nsAString& aLangTag);
 
   /**
    * @param aValue The color value, returned from nsCSSParser::ParseColorString
    * @param aPresContext Presentation context whose preferences are used
    *                     for certain enumerated colors
    * @param aStyleContext Style context whose color is used for 'currentColor'
    *