Bug 1527421 - Return scrolling xpc event interface in MakeXPCEvent. r=Jamie
authorEitan Isaacson <eitan@monotonous.org>
Wed, 13 Feb 2019 00:37:39 +0000
changeset 458831 eb177b6fdd37
parent 458830 6de9408be22f
child 458832 5f6a77f08081
push id35548
push useropoprus@mozilla.com
push dateWed, 13 Feb 2019 09:48:26 +0000
treeherdermozilla-central@93e37c529818 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersJamie
bugs1527421
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1527421 - Return scrolling xpc event interface in MakeXPCEvent. r=Jamie Differential Revision: https://phabricator.services.mozilla.com/D19557
accessible/base/AccEvent.cpp
--- a/accessible/base/AccEvent.cpp
+++ b/accessible/base/AccEvent.cpp
@@ -254,14 +254,15 @@ already_AddRefed<nsIAccessibleEvent> a11
     return xpEvent.forget();
   }
 
   if (eventGroup & (1 << AccEvent::eScrollingEvent)) {
     AccScrollingEvent* sa = downcast_accEvent(aEvent);
     xpEvent = new xpcAccScrollingEvent(
         type, ToXPC(acc), ToXPCDocument(doc), node, fromUser, sa->ScrollX(),
         sa->ScrollY(), sa->MaxScrollX(), sa->MaxScrollY());
+    return xpEvent.forget();
   }
 
   xpEvent =
       new xpcAccEvent(type, ToXPC(acc), ToXPCDocument(doc), node, fromUser);
   return xpEvent.forget();
 }