Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg

This commit is contained in:
L. David Baron
2010-04-02 18:58:26 -07:00
parent 783f8b1b4a
commit 21c8a7d37e
14 changed files with 77 additions and 69 deletions

View File

@@ -1181,6 +1181,6 @@ nsBCTableCellFrame::PaintBackground(nsIRenderingContext& aRenderingContext,
// of frame cannot be used for the root element
nsCSSRendering::PaintBackgroundWithSC(PresContext(), aRenderingContext, this,
aDirtyRect, rect,
*GetStyleBackground(), myBorder,
GetStyleContext(), myBorder,
aFlags, nsnull);
}