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 458821 eb177b6fdd37d20d50188624ce33457f41d04c37
parent 458820 6de9408be22f0be3ba084bbbe050f5832fb50bd2
child 458822 5f6a77f08081eeab95938e4dc15af5674c933871
push id78051
push usereisaacson@mozilla.com
push dateWed, 13 Feb 2019 01:14:56 +0000
treeherderautoland@eb177b6fdd37 [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();
 }