Bug 628477: Remove declaration for now-defunct helper method PaintBackgroundLayer in nsCSSRendering.cpp. r=roc a=roc
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 24 Jan 2011 22:41:12 -0800
changeset 61255 6a097e294828c13e9ae8bf4094f1344e9b42b391
parent 61254 c2436d38a86b2c32cad87e5bfd93a11c13c8fd2c
child 61256 bbf235e368ed7a597c3484089f948ec26558498d
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewersroc, roc
bugs628477
milestone2.0b10pre
Bug 628477: Remove declaration for now-defunct helper method PaintBackgroundLayer in nsCSSRendering.cpp. r=roc a=roc
layout/base/nsCSSRendering.cpp
--- a/layout/base/nsCSSRendering.cpp
+++ b/layout/base/nsCSSRendering.cpp
@@ -352,26 +352,16 @@ protected:
     PRBool isValid1, isValid2;
     nsBlockInFlowLineIterator it1(mBlockFrame, aFrame1, &isValid1);
     nsBlockInFlowLineIterator it2(mBlockFrame, aFrame2, &isValid2);
     return isValid1 && isValid2 && it1.GetLine() == it2.GetLine();
   }
 };
 
 /* Local functions */
-static void PaintBackgroundLayer(nsPresContext* aPresContext,
-                                 nsIRenderingContext& aRenderingContext,
-                                 nsIFrame* aForFrame,
-                                 PRUint32 aFlags,
-                                 const nsRect& aDirtyRect,
-                                 const nsRect& aBorderArea,
-                                 const nsRect& aBGClipRect,
-                                 const nsStyleBackground& aBackground,
-                                 const nsStyleBackground::Layer& aLayer);
-
 static void DrawBorderImage(nsPresContext* aPresContext,
                             nsIRenderingContext& aRenderingContext,
                             nsIFrame* aForFrame,
                             const nsRect& aBorderArea,
                             const nsStyleBorder& aStyleBorder,
                             const nsRect& aDirtyRect);
 
 static void DrawBorderImageComponent(nsIRenderingContext& aRenderingContext,