mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug
This commit is contained in:
parent
b16a0d492e
commit
bc04e07473
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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?
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user