Verified Commit 45093a8f 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 7f3356ca
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
@@ -89,7 +89,7 @@ var gTorConnectUrlbarButton = {
  /**
   * Deactivate and de-initialize the button.
   */
  deinit() {
  uninit() {
    if (!this._isActive) {
      return;
    }
@@ -115,7 +115,7 @@ var gTorConnectUrlbarButton = {
      TorConnect.state === TorConnectState.Bootstrapped ||
      TorConnect.state === TorConnectState.Disabled
    ) {
      this.deinit();
      this.uninit();
      return;
    }
    this._updateButtonVisibility();