зеркало из https://github.com/mozilla/gecko-dev.git
Bug 902727 - [Session Restore] Remove legacy _writeFileEncoder; r=smacleod
This commit is contained in:
Родитель
9a25ff0ea8
Коммит
7941dea3ee
|
@ -485,8 +485,6 @@ let SessionStoreInternal = {
|
|||
this._prefBranch.getBoolPref("sessionstore.resume_session_once"))
|
||||
this._prefBranch.setBoolPref("sessionstore.resume_session_once", false);
|
||||
|
||||
this._initEncoding();
|
||||
|
||||
this._performUpgradeBackup();
|
||||
|
||||
this._sessionInitialized = true;
|
||||
|
@ -521,13 +519,6 @@ let SessionStoreInternal = {
|
|||
}.bind(this));
|
||||
},
|
||||
|
||||
_initEncoding : function ssi_initEncoding() {
|
||||
// The (UTF-8) encoder used to write to files.
|
||||
XPCOMUtils.defineLazyGetter(this, "_writeFileEncoder", function () {
|
||||
return new TextEncoder();
|
||||
});
|
||||
},
|
||||
|
||||
_initPrefs : function() {
|
||||
this._prefBranch = Services.prefs.getBranch("browser.");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче