Bug 561861: Remove unused variable 'ourColor' from nsCSSRendering::PaintOutline. r=dbaron
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 28 Apr 2010 23:13:11 -0700
changeset 41516 ae22682c75dab5235aa45ac23e4b1a6bfbfa4b41
parent 41515 b464cc1789bd582eb5e48f5e19ca66055998ae0c
child 41517 98749d6edaa53e7a80877d3dd5dea74e29d3e346
push idunknown
push userunknown
push dateunknown
reviewersdbaron
bugs561861
milestone1.9.3a5pre
Bug 561861: Remove unused variable 'ourColor' from nsCSSRendering::PaintOutline. r=dbaron
layout/base/nsCSSRendering.cpp
--- a/layout/base/nsCSSRendering.cpp
+++ b/layout/base/nsCSSRendering.cpp
@@ -717,17 +717,16 @@ nsCSSRendering::PaintOutline(nsPresConte
                              nsIFrame* aForFrame,
                              const nsRect& aDirtyRect,
                              const nsRect& aBorderArea,
                              nsStyleContext* aStyleContext)
 {
   nscoord             twipsRadii[8];
 
   // Get our style context's color struct.
-  const nsStyleColor* ourColor = aStyleContext->GetStyleColor();
   const nsStyleOutline* ourOutline = aStyleContext->GetStyleOutline();
 
   nscoord width;
   ourOutline->GetOutlineWidth(width);
 
   if (width == 0) {
     // Empty outline
     return;