summaryrefslogtreecommitdiffstats
path: root/xpfe
diff options
context:
space:
mode:
Diffstat (limited to 'xpfe')
-rw-r--r--xpfe/appshell/nsWebShellWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpfe/appshell/nsWebShellWindow.cpp b/xpfe/appshell/nsWebShellWindow.cpp
index 288d94759..f703be728 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 =