mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Remove unsed code. Bug 307111, r+sr=roc
This commit is contained in:
parent
063002a639
commit
d3d8f2c12f
@ -963,30 +963,6 @@ nsSimplePageSequenceFrame::SetClipRect(nsPresContext* aPresContext, nsRect* aRe
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
NS_IMETHODIMP
|
||||
nsSimplePageSequenceFrame::Paint(nsPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
aRenderingContext.PushState();
|
||||
aRenderingContext.SetColor(NS_RGB(255,255,255));
|
||||
|
||||
|
||||
if (NS_FRAME_PAINT_LAYER_BACKGROUND == aWhichLayer) {
|
||||
nsRect rect = mRect;
|
||||
aRenderingContext.SetColor(NS_RGB(255,255,255));
|
||||
rect.x = 0;
|
||||
rect.y = 0;
|
||||
aRenderingContext.FillRect(rect);
|
||||
}
|
||||
|
||||
nsresult rv = nsContainerFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
|
||||
|
||||
aRenderingContext.PopState();
|
||||
return rv;
|
||||
}
|
||||
|
||||
nsIAtom*
|
||||
nsSimplePageSequenceFrame::GetType() const
|
||||
{
|
||||
|
@ -88,11 +88,6 @@ public:
|
||||
const nsHTMLReflowState& aMaxSize,
|
||||
nsReflowStatus& aStatus);
|
||||
|
||||
NS_IMETHOD Paint(nsPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer);
|
||||
|
||||
// nsIPageSequenceFrame
|
||||
NS_IMETHOD SetOffsets(nscoord aStartOffset, nscoord aEndOffset);
|
||||
NS_IMETHOD SetPageNo(PRInt32 aPageNo) { return NS_OK;}
|
||||
|
Loading…
Reference in New Issue
Block a user