Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron

This commit is contained in:
neil@parkwaycc.co.uk
2005-01-01 17:26:29 +00:00
parent 4dd1d4cd58
commit ab8be2367d
67 changed files with 161 additions and 238 deletions

View File

@@ -102,8 +102,7 @@ public:
nsIAtom* aListName,
nsIFrame* aOldFrame,
nsIFrame* aNewFrame);
NS_IMETHOD GetFrameForPoint(nsPresContext* aPresContext,
const nsPoint& aPoint,
NS_IMETHOD GetFrameForPoint(const nsPoint& aPoint,
nsFramePaintLayer aWhichLayer,
nsIFrame** aFrame);
virtual nsIAtom* GetType() const;
@@ -662,13 +661,12 @@ nsFieldSetFrame::ReplaceFrame(nsPresContext* aPresContext,
}
NS_IMETHODIMP
nsFieldSetFrame::GetFrameForPoint(nsPresContext* aPresContext,
const nsPoint& aPoint,
nsFieldSetFrame::GetFrameForPoint(const nsPoint& aPoint,
nsFramePaintLayer aWhichLayer,
nsIFrame** aFrame)
{
// this should act like a block, so we need to override
return GetFrameForPointUsing(aPresContext, aPoint, nsnull, aWhichLayer, (aWhichLayer == NS_FRAME_PAINT_LAYER_BACKGROUND), aFrame);
return GetFrameForPointUsing(aPoint, nsnull, aWhichLayer, (aWhichLayer == NS_FRAME_PAINT_LAYER_BACKGROUND), aFrame);
}
#ifdef ACCESSIBILITY