Bug 1535701 - Followup to fix checkstyle and eslint. a=pascalc
authorEitan Isaacson <eitan@monotonous.org>
Wed, 20 Mar 2019 18:17:23 +0000
changeset 525743 0ea6b4ddf9c6920e0e88fabadc749f82504a1bbe
parent 525742 b5979c2fa68fefe151bf3ea1b8d2190beb245d7f
child 525744 c9e5b98d97c973f6d55cea531c776c7dc15c987a
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspascalc
bugs1535701
milestone67.0
Bug 1535701 - Followup to fix checkstyle and eslint. a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D24232
accessible/jsat/EventManager.jsm
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/SessionAccessibility.java
--- a/accessible/jsat/EventManager.jsm
+++ b/accessible/jsat/EventManager.jsm
@@ -5,22 +5,18 @@
 "use strict";
 
 ChromeUtils.defineModuleGetter(this, "Services",
   "resource://gre/modules/Services.jsm");
 ChromeUtils.defineModuleGetter(this, "Utils",
   "resource://gre/modules/accessibility/Utils.jsm");
 ChromeUtils.defineModuleGetter(this, "Logger",
   "resource://gre/modules/accessibility/Utils.jsm");
-ChromeUtils.defineModuleGetter(this, "Roles",
-  "resource://gre/modules/accessibility/Constants.jsm");
 ChromeUtils.defineModuleGetter(this, "Events",
   "resource://gre/modules/accessibility/Constants.jsm");
-ChromeUtils.defineModuleGetter(this, "States",
-  "resource://gre/modules/accessibility/Constants.jsm");
 
 var EXPORTED_SYMBOLS = ["EventManager"];
 
 function EventManager(aContentScope) {
   this.contentScope = aContentScope;
   this.addEventListener = this.contentScope.addEventListener.bind(
     this.contentScope);
   this.removeEventListener = this.contentScope.removeEventListener.bind(
--- a/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/SessionAccessibility.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/SessionAccessibility.java
@@ -539,17 +539,17 @@ public class SessionAccessibility {
                 }
                 if (mProvider == null) {
                     mProvider = new NodeProvider();
                 }
                 return mProvider;
             }
 
             @Override
-            public void sendAccessibilityEvent(View host, int eventType) {
+            public void sendAccessibilityEvent(final View host, final int eventType) {
                 if (eventType == AccessibilityEvent.TYPE_VIEW_FOCUSED) {
                     // We rely on the focus events sent from Gecko.
                     return;
                 }
 
                 super.sendAccessibilityEvent(host, eventType);
             }
         });