Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine

This commit is contained in:
roc+@cs.cmu.edu
2004-09-06 02:44:43 +00:00
parent dc4149d0f1
commit 4b8c28dfbf
32 changed files with 324 additions and 452 deletions

View File

@@ -3002,7 +3002,7 @@ nsTextControlFrame::SetInitialChildList(nsPresContext* aPresContext,
if (first)
first->QueryInterface(NS_GET_IID(nsIScrollableFrame), (void **) &scrollableFrame);
if (scrollableFrame)
scrollableFrame->SetScrollbarVisibility(aPresContext,PR_FALSE,PR_FALSE);
scrollableFrame->SetScrollbarVisibility(PR_FALSE, PR_FALSE);
}
//register keylistener
@@ -3064,12 +3064,9 @@ nsTextControlFrame::GetWidthInCharacters() const
return DEFAULT_COLUMN_WIDTH;
}
NS_IMETHODIMP
nsTextControlFrame::GetScrollableView(nsPresContext* aPresContext,
nsIScrollableView** aView)
nsIScrollableView* nsTextControlFrame::GetScrollableView()
{
*aView = mScrollableView;
return NS_OK;
return mScrollableView;
}
PRBool