mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
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:
parent
7fc26bf75d
commit
e084a5bf89
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user