Skip to content

Commit

Permalink
Bug 1533558 - Delete dead _formFillService code in LoginManager.jsm r…
Browse files Browse the repository at this point in the history
…=MattN

Differential Revision: https://phabricator.services.mozilla.com/D23212

--HG--
extra : moz-landing-system : lando
  • Loading branch information
NidhiKJha committed Mar 12, 2019
1 parent 4ff91d4 commit c899571
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions toolkit/components/passwordmgr/LoginManager.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ LoginManager.prototype = {
/* ---------- private members ---------- */


__formFillService: null, // FormFillController, for username autocompleting
get _formFillService() {
if (!this.__formFillService) {
this.__formFillService = Cc["@mozilla.org/satchel/form-fill-controller;1"].
getService(Ci.nsIFormFillController);
}
return this.__formFillService;
},


_storage: null, // Storage component which contains the saved logins
_prefBranch: null, // Preferences service
Expand Down Expand Up @@ -138,7 +129,6 @@ LoginManager.prototype = {
log.debug("Oops! Pref not handled, change ignored.");
}
} else if (topic == "xpcom-shutdown") {
delete this._pwmgr.__formFillService;
delete this._pwmgr._storage;
delete this._pwmgr._prefBranch;
this._pwmgr = null;
Expand Down

0 comments on commit c899571

Please sign in to comment.