Bug 1519922 - Call ProxyEvent for scrolling events on non-Android. r=Jamie, a=RyanVM
authorEitan Isaacson <eitan@monotonous.org>
Mon, 14 Jan 2019 23:46:57 +0000
changeset 509516 b0abaa9984f6b6434da2477ffdbfa0307b115f32
parent 509515 e3e8f1521ebd73942d22185df7d166f74eee41cd
child 509517 561137bf321030c3bb2c7cfb692f85d3ccda4622
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersJamie, RyanVM
bugs1519922
milestone65.0
Bug 1519922 - Call ProxyEvent for scrolling events on non-Android. r=Jamie, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D16484
accessible/ipc/DocAccessibleParent.cpp
--- a/accessible/ipc/DocAccessibleParent.cpp
+++ b/accessible/ipc/DocAccessibleParent.cpp
@@ -406,16 +406,18 @@ mozilla::ipc::IPCResult DocAccessiblePar
   if (!target) {
     NS_ERROR("no proxy for event!");
     return IPC_OK();
   }
 
 #if defined(ANDROID)
   ProxyScrollingEvent(target, aType, aScrollX, aScrollY, aMaxScrollX,
                       aMaxScrollY);
+#else
+  ProxyEvent(target, aType);
 #endif
 
   if (!nsCoreUtils::AccEventObserversExist()) {
     return IPC_OK();
   }
 
   xpcAccessibleGeneric* xpcAcc = GetXPCAccessible(target);
   xpcAccessibleDocument* doc = GetAccService()->GetXPCDocument(this);