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 id18278
push userdholbert@mozilla.com
push dateTue, 25 Jan 2011 07:00:47 +0000
treeherdermozilla-central@6a097e294828 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, roc
bugs628477
milestone2.0b10pre
first release with
nightly linux32
6a097e294828 / 4.0b10pre / 20110125030335 / files
nightly linux64
6a097e294828 / 4.0b10pre / 20110125030335 / files
nightly mac
6a097e294828 / 4.0b10pre / 20110125030335 / files
nightly win32
6a097e294828 / 4.0b10pre / 20110125030335 / files
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
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,