removing unnecessary ifdef

This commit is contained in:
mjudge%netscape.com 2000-07-13 23:19:21 +00:00
parent 829408eddb
commit 95d2399475
2 changed files with 0 additions and 18 deletions

View File

@ -244,22 +244,13 @@ nsFileControlFrame::ScrollIntoView(nsIPresContext* aPresContext)
nsresult
nsFileControlFrame::MouseClick(nsIDOMEvent* aMouseEvent)
{
nsIView* textView;
nsIView* parentView;
nsresult result = NS_OK;
#ifdef ENDER_LITE
nsIFrame *parentWithView;
if (NS_SUCCEEDED(mTextFrame->GetParentWithView(mPresContext, &parentWithView)) && parentWithView)
{
parentWithView->GetView(mPresContext,&parentView);
}
#else
mTextFrame->GetView(mPresContext, &textView);
if (nsnull == textView) {
return NS_OK;
}
textView->GetParent(parentView);
#endif
nsIWidget* parentWidget = GetWindowTemp(parentView);

View File

@ -244,22 +244,13 @@ nsFileControlFrame::ScrollIntoView(nsIPresContext* aPresContext)
nsresult
nsFileControlFrame::MouseClick(nsIDOMEvent* aMouseEvent)
{
nsIView* textView;
nsIView* parentView;
nsresult result = NS_OK;
#ifdef ENDER_LITE
nsIFrame *parentWithView;
if (NS_SUCCEEDED(mTextFrame->GetParentWithView(mPresContext, &parentWithView)) && parentWithView)
{
parentWithView->GetView(mPresContext,&parentView);
}
#else
mTextFrame->GetView(mPresContext, &textView);
if (nsnull == textView) {
return NS_OK;
}
textView->GetParent(parentView);
#endif
nsIWidget* parentWidget = GetWindowTemp(parentView);