Bug 900839 - Remove unused variables in nsNativeThemeCocoa.mm. r=dzbarsky
authorChris Peterson <cpeterson@mozilla.com>
Thu, 01 Aug 2013 22:46:10 -0700
changeset 153437 32dc36c6af9f3afb260078c91010b29e17c692c5
parent 153436 aa1a5a6159c0c86482153dcef4ce9e7ac9c5ed7c
child 153438 434d827b2d099e026cd8643e9b73631bb6359628
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdzbarsky
bugs900839
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 900839 - Remove unused variables in nsNativeThemeCocoa.mm. r=dzbarsky
widget/cocoa/nsNativeThemeCocoa.mm
--- a/widget/cocoa/nsNativeThemeCocoa.mm
+++ b/widget/cocoa/nsNativeThemeCocoa.mm
@@ -1400,19 +1400,16 @@ nsNativeThemeCocoa::DrawMeter(CGContextR
                          mCellDrawView, IsFrameRTL(aFrame));
     return;
   }
 
   HTMLMeterElement* meterElement = static_cast<HTMLMeterElement*>(content);
   double value = meterElement->Value();
   double min = meterElement->Min();
   double max = meterElement->Max();
-  double low = meterElement->Low();
-  double high = meterElement->High();
-  double optimum = meterElement->Optimum();
 
   NSLevelIndicatorCell* cell = mMeterBarCell;
 
   [cell setMinValue:min];
   [cell setMaxValue:max];
   [cell setDoubleValue:value];
 
   /**