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

@@ -118,8 +118,7 @@ public:
NS_IMETHOD HandleEvent(nsPresContext* aPresContext,
nsGUIEvent* aEvent,
nsEventStatus* aEventStatus);
NS_IMETHOD GetFrameForPoint(nsPresContext* aPresContext,
const nsPoint& aPoint,
NS_IMETHOD GetFrameForPoint(const nsPoint& aPoint,
nsFramePaintLayer aWhichLayer,
nsIFrame** aFrame);
virtual PRBool IsContainingBlock() const { return PR_TRUE; }
@@ -630,13 +629,12 @@ CanvasFrame::HandleEvent(nsPresContext* aPresContext,
}
NS_IMETHODIMP
CanvasFrame::GetFrameForPoint(nsPresContext* aPresContext,
const nsPoint& aPoint,
CanvasFrame::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);
}
nsIAtom*