Verified Commit b26e881a authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

Bug 41836: Rename deinit to uninit.
parent 92606de9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ var gTorConnectTitlebarStatus = {
  /**
   * De-initialize the component.
   */
  deinit() {
  uninit() {
    Services.obs.removeObserver(this._stateListener, this._observeTopic);
  },

+2 −2
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ var gTorConnectUrlbarButton = {
  /**
   * Deactivate and de-initialize the button.
   */
  deinit() {
  uninit() {
    if (!this._isActive) {
      return;
    }
@@ -116,7 +116,7 @@ var gTorConnectUrlbarButton = {
      TorConnect.state === TorConnectState.Bootstrapped ||
      TorConnect.state === TorConnectState.Disabled
    ) {
      this.deinit();
      this.uninit();
      return;
    }
    this._updateButtonVisibility();