Bug 1535701 - Followup to fix checkstyle and eslint.
authorEitan Isaacson <eitan@monotonous.org>
Wed, 20 Mar 2019 18:17:23 +0000
changeset 465264 93b76c2b5d626380e2ae2da052f378808f0e26b6
parent 465263 3ab48ce01773af9a130477e46c50e17f9042ea4b
child 465265 603ea56b9c229cfd74a760c90b2c98facd4ec258
push id112496
push usershindli@mozilla.com
push dateThu, 21 Mar 2019 04:37:39 +0000
treeherdermozilla-inbound@29476d3ca61d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1535701
milestone68.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 1535701 - Followup to fix checkstyle and eslint. 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);
             }
         });