Fix for view reference counting... A reference to the scrolling view was not being release. This prevented Scrolling views from being destroyed.

This commit is contained in:
rpotts%netscape.com 1998-07-16 00:14:03 +00:00
Родитель 7fc26bf75d
Коммит e084a5bf89
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -420,6 +420,7 @@ nsresult WebWidgetImpl::MakeWindow(nsNativeWidget aNativeParent,
rv = mView->QueryInterface(kScrollViewIID, (void**)&scrollView);
if (NS_OK == rv) {
scrollView->SetScrollPreference(aScrolling);
NS_RELEASE(scrollView);
}
else {
NS_ASSERTION(0, "invalid scrolling view");