remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bmlk%gmx.de
2004-12-26 19:48:54 +00:00
parent da4c5f8fa8
commit e547c59f49
32 changed files with 130 additions and 162 deletions

View File

@@ -6666,8 +6666,7 @@ nsTypedSelection::GetFrameToScrolledViewOffsets(nsIScrollableView *aScrollableVi
if (!shell)
return NS_ERROR_NULL_POINTER;
nsPresContext *presContext = shell->GetPresContext();
aFrame->GetOffsetFromView(presContext, offset, &closestView);
aFrame->GetOffsetFromView(offset, &closestView);
// XXX Deal with the case where there is a scrolled element, e.g., a
// DIV in the middle...
@@ -6713,7 +6712,7 @@ nsTypedSelection::GetPointFromOffset(nsIFrame *aFrame, PRInt32 aContentOffset, n
nsIView *closestView = nsnull;
nsPoint offset(0, 0);
rv = aFrame->GetOffsetFromView(presContext, offset, &closestView);
rv = aFrame->GetOffsetFromView(offset, &closestView);
while (!widget && closestView)
{