mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Don't crash when closing the not-so-hidden window.
This commit is contained in:
parent
aee7910bc5
commit
ee712ef0b4
@ -1871,7 +1871,7 @@ NS_IMETHODIMP
|
||||
nsWebShellWindow::GetWidget(nsIWidget *& aWidget)
|
||||
{
|
||||
aWidget = mWindow;
|
||||
NS_ADDREF(mWindow);
|
||||
NS_IF_ADDREF(mWindow);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user