diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-07 09:48:00 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-07 18:33:24 -0500 |
commit | 7e6f7f6e371a58cb3fe99687f4f1632b60d92367 (patch) | |
tree | ecd9e09c98e8a46660f5d404553158b1c8212519 /xpfe | |
parent | 9eb5d168b90eb138b0f143ad06f7658815dbbde0 (diff) | |
download | uxp-7e6f7f6e371a58cb3fe99687f4f1632b60d92367.tar.gz |
Bug 1379728 part 1. Remove the double-definition of the 'close' event from EventNameList.h.
Tag mcp-graveyard/UXP#1343
Diffstat (limited to 'xpfe')
-rw-r--r-- | xpfe/appshell/nsWebShellWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpfe/appshell/nsWebShellWindow.cpp b/xpfe/appshell/nsWebShellWindow.cpp index 288d947595..f703be7289 100644 --- a/xpfe/appshell/nsWebShellWindow.cpp +++ b/xpfe/appshell/nsWebShellWindow.cpp @@ -323,7 +323,7 @@ nsWebShellWindow::RequestWindowClose(nsIWidget* aWidget) RefPtr<nsPresContext> presContext = presShell->GetPresContext(); nsEventStatus status = nsEventStatus_eIgnore; - WidgetMouseEvent event(true, eWindowClose, nullptr, + WidgetMouseEvent event(true, eClose, nullptr, WidgetMouseEvent::eReal); if (NS_SUCCEEDED(eventTarget->DispatchDOMEvent(&event, nullptr, presContext, &status)) && status == nsEventStatus_eConsumeNoDefault) @@ -759,7 +759,7 @@ bool nsWebShellWindow::ExecuteCloseHandler() contentViewer->GetPresContext(getter_AddRefs(presContext)); nsEventStatus status = nsEventStatus_eIgnore; - WidgetMouseEvent event(true, eWindowClose, nullptr, + WidgetMouseEvent event(true, eClose, nullptr, WidgetMouseEvent::eReal); nsresult rv = |