Fixing build bustage for bug 212789 -- merge to changes from bug 289940.

This commit is contained in:
bzbarsky%mit.edu 2005-08-30 18:56:10 +00:00
Родитель 4e5fb6da88
Коммит eb41a909b3
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -3448,10 +3448,8 @@ nsTreeBodyFrame::ScrollInternal(PRInt32 aRow)
}
}
nsScrollbarEvent event;
event.eventStructType = NS_SCROLLBAR_EVENT;
nsScrollbarEvent event(PR_TRUE, NS_SCROLL_EVENT, nsnull);
event.flags = 0;
event.message = NS_SCROLL_EVENT;
nsEventStatus status = nsEventStatus_eIgnore;
mContent->HandleDOMEvent(mPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
@ -3502,10 +3500,8 @@ nsTreeBodyFrame::ScrollHorzInternal(PRInt32 aPosition)
mColScrollView->ScrollTo(mHorzPosition, 0, 0);
// And fire off an event about it all
nsScrollbarEvent event;
event.eventStructType = NS_SCROLLBAR_EVENT;
nsScrollbarEvent event(PR_TRUE, NS_SCROLL_EVENT, nsnull);
event.flags = 0;
event.message = NS_SCROLL_EVENT;
nsEventStatus status = nsEventStatus_eIgnore;
mContent->HandleDOMEvent(mPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status);