Remove unsed code. Bug 307111, r+sr=roc

This commit is contained in:
bzbarsky%mit.edu 2005-12-11 20:40:07 +00:00
Родитель 063002a639
Коммит d3d8f2c12f
2 изменённых файлов: 0 добавлений и 29 удалений

Просмотреть файл

@ -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;}