Bug 1454484 - Rename GeckoViewAccessibility.init to onInit. r=jchen
authorEitan Isaacson <eitan@monotonous.org>
Mon, 16 Apr 2018 13:26:00 -0400
changeset 467600 34ebcf9dcd6e0bdc991d4b445321ae9d5f6acc16
parent 467599 6cc3fb847d2f3b90dc6598eb4fae9bd2a36f7d1f
child 467601 6047ab9ac46a891c430f42dbeedc4555123172bb
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1454484
milestone61.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 1454484 - Rename GeckoViewAccessibility.init to onInit. r=jchen
mobile/android/modules/geckoview/GeckoViewAccessibility.jsm
--- a/mobile/android/modules/geckoview/GeckoViewAccessibility.jsm
+++ b/mobile/android/modules/geckoview/GeckoViewAccessibility.jsm
@@ -14,17 +14,17 @@ XPCOMUtils.defineLazyModuleGetters(this,
   AccessFu: "resource://gre/modules/accessibility/AccessFu.jsm"
 });
 
 XPCOMUtils.defineLazyGetter(this, "dump", () =>
     ChromeUtils.import("resource://gre/modules/AndroidLog.jsm",
                        {}).AndroidLog.d.bind(null, "GeckoAccessibility"));
 
 class GeckoViewAccessibility extends GeckoViewModule {
-  init() {
+  onInit() {
     EventDispatcher.instance.dispatch("GeckoView:AccessibilityReady");
     EventDispatcher.instance.registerListener((aEvent, aData, aCallback) => {
       if (aData.enabled) {
         AccessFu.attach(this.window);
       } else {
         AccessFu.detach();
       }
     }, "GeckoView:AccessibilitySettings");