Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-07 23:55:51 +09:00
parent b16a0d492e
commit bc04e07473
4 changed files with 4 additions and 4 deletions

View File

@ -742,7 +742,7 @@ NON_IDL_EVENT(underflow,
// Various SVG events
NON_IDL_EVENT(SVGLoad,
NS_SVG_LOAD,
eSVGLoad,
EventNameType_None,
eBasicEventClass)
NON_IDL_EVENT(SVGUnload,

View File

@ -590,7 +590,7 @@ SVGSVGElement::IsAttributeMapped(const nsIAtom* name) const
nsresult
SVGSVGElement::PreHandleEvent(EventChainPreVisitor& aVisitor)
{
if (aVisitor.mEvent->mMessage == NS_SVG_LOAD) {
if (aVisitor.mEvent->mMessage == eSVGLoad) {
if (mTimedDocumentRoot) {
mTimedDocumentRoot->Begin();
// Set 'resample needed' flag, so that if any script calls a DOM method

View File

@ -21,7 +21,7 @@ nsHtml5SVGLoadDispatcher::nsHtml5SVGLoadDispatcher(nsIContent* aElement)
NS_IMETHODIMP
nsHtml5SVGLoadDispatcher::Run()
{
WidgetEvent event(true, NS_SVG_LOAD);
WidgetEvent event(true, eSVGLoad);
event.mFlags.mBubbles = false;
// Do we care about forcing presshell creation if it hasn't happened yet?
// That is, should this code flush or something? Does it really matter?

View File

@ -192,7 +192,7 @@ NS_EVENT_MESSAGE(ePageHide, ePageTransitionEventFirst + 2)
// SVG events
NS_EVENT_MESSAGE(eSVGEventFirst, 2800)
NS_EVENT_MESSAGE(NS_SVG_LOAD, eSVGEventFirst)
NS_EVENT_MESSAGE(eSVGLoad, eSVGEventFirst)
NS_EVENT_MESSAGE(NS_SVG_UNLOAD, eSVGEventFirst + 1)
NS_EVENT_MESSAGE(NS_SVG_RESIZE, eSVGEventFirst + 4)
NS_EVENT_MESSAGE(NS_SVG_SCROLL, eSVGEventFirst + 5)