From 9151616481c918a2d8c69e7195cbdb445c99d79f Mon Sep 17 00:00:00 2001 From: Masayuki Nakano Date: Sat, 12 Sep 2015 01:19:28 +0900 Subject: [PATCH] Bug 895274 part.221 Rename NS_BEFOREPRINT to eBeforePrint r=smaug --- dom/events/EventNameList.h | 2 +- widget/EventMessageList.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/events/EventNameList.h b/dom/events/EventNameList.h index a88933070a86..9640cc8a7bed 100644 --- a/dom/events/EventNameList.h +++ b/dom/events/EventNameList.h @@ -473,7 +473,7 @@ WINDOW_EVENT(afterprint, EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly, eBasicEventClass) WINDOW_EVENT(beforeprint, - NS_BEFOREPRINT, + eBeforePrint, EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly, eBasicEventClass) BEFOREUNLOAD_EVENT(beforeunload, diff --git a/widget/EventMessageList.h b/widget/EventMessageList.h index 462bfd999d1a..3f4b911b9c79 100644 --- a/widget/EventMessageList.h +++ b/widget/EventMessageList.h @@ -344,7 +344,7 @@ NS_EVENT_MESSAGE(eBeforeScriptExecute, eScriptEventFirst) NS_EVENT_MESSAGE(eAfterScriptExecute, eScriptEventFirst + 1) NS_EVENT_MESSAGE(ePrintEventFirst, 4600) -NS_EVENT_MESSAGE(NS_BEFOREPRINT, ePrintEventFirst) +NS_EVENT_MESSAGE(eBeforePrint, ePrintEventFirst) NS_EVENT_MESSAGE(NS_AFTERPRINT, ePrintEventFirst + 1) NS_EVENT_MESSAGE(NS_MESSAGE_EVENT_START, 4700)