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

@@ -595,8 +595,7 @@ nsTableRowFrame::GetSkipSides() const
* sufficient. We have to ask the row if it has a child that contains the point.
*/
NS_IMETHODIMP
nsTableRowFrame::GetFrameForPoint(nsPresContext* aPresContext,
const nsPoint& aPoint,
nsTableRowFrame::GetFrameForPoint(const nsPoint& aPoint,
nsFramePaintLayer aWhichLayer,
nsIFrame** aFrame)
{
@@ -620,7 +619,7 @@ nsTableRowFrame::GetFrameForPoint(nsPresContext* aPresContext,
*aFrame = nsnull;
tmp.MoveTo(aPoint.x - mRect.x, aPoint.y - mRect.y);
while (nsnull != kid) {
nsresult rv = kid->GetFrameForPoint(aPresContext, tmp, aWhichLayer, &hit);
nsresult rv = kid->GetFrameForPoint(tmp, aWhichLayer, &hit);
if (NS_SUCCEEDED(rv) && hit) {
*aFrame = hit;