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
parent 7fc26bf75d
commit e084a5bf89

View File

@ -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");