Bug 604816 followup: Remove now-unused variable "stretch" from CheckFontCallback in nsRuleNode.cpp. r=dbaron a=dbaron
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 16 Nov 2010 10:35:59 -0800
changeset 57589 e119bd85d4ad115b8f6c8e08b83b866a05855ed1
parent 57588 5a5ead36d721620e5ea1fd3c60a61e88350bdf54
child 57590 fdb62b0ef6993d2d85a2bf0a084b19a48d8e70c1
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersdbaron, dbaron
bugs604816
milestone2.0b8pre
Bug 604816 followup: Remove now-unused variable "stretch" from CheckFontCallback in nsRuleNode.cpp. r=dbaron a=dbaron
layout/style/nsRuleNode.cpp
--- a/layout/style/nsRuleNode.cpp
+++ b/layout/style/nsRuleNode.cpp
@@ -1353,17 +1353,16 @@ CheckFontCallback(const nsRuleDataStruct
       static_cast<const nsRuleDataFont&>(aData);
 
   // em, ex, percent, 'larger', and 'smaller' values on font-size depend
   // on the parent context's font-size
   // Likewise, 'lighter' and 'bolder' values of 'font-weight', and 'wider'
   // and 'narrower' values of 'font-stretch' depend on the parent.
   const nsCSSValue& size = fontData.mSize;
   const nsCSSValue& weight = fontData.mWeight;
-  const nsCSSValue& stretch = fontData.mStretch;
   if (size.IsRelativeLengthUnit() ||
       size.GetUnit() == eCSSUnit_Percent ||
       (size.GetUnit() == eCSSUnit_Enumerated &&
        (size.GetIntValue() == NS_STYLE_FONT_SIZE_SMALLER ||
         size.GetIntValue() == NS_STYLE_FONT_SIZE_LARGER)) ||
 #ifdef MOZ_MATHML
       fontData.mScriptLevel.GetUnit() == eCSSUnit_Integer ||
 #endif