mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Fixed crash when dismissing modal dialogs. r=mscott
This commit is contained in:
parent
90bab0bb4f
commit
79d89d1831
@ -787,7 +787,7 @@ NS_IMETHODIMP nsXULWindow::ShowModal()
|
||||
rv = appShell->GetNativeEvent(isRealEvent, data);
|
||||
if(NS_SUCCEEDED(rv))
|
||||
{
|
||||
mWindow->ModalEventFilter(isRealEvent, data, &processEvent);
|
||||
window->ModalEventFilter(isRealEvent, data, &processEvent);
|
||||
if(processEvent)
|
||||
appShell->DispatchNativeEvent(isRealEvent, data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user