mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 902727 - [Session Restore] Remove legacy _writeFileEncoder; r=smacleod
This commit is contained in:
parent
b6b9cab220
commit
c169a9b30c
@ -485,8 +485,6 @@ let SessionStoreInternal = {
|
|||||||
this._prefBranch.getBoolPref("sessionstore.resume_session_once"))
|
this._prefBranch.getBoolPref("sessionstore.resume_session_once"))
|
||||||
this._prefBranch.setBoolPref("sessionstore.resume_session_once", false);
|
this._prefBranch.setBoolPref("sessionstore.resume_session_once", false);
|
||||||
|
|
||||||
this._initEncoding();
|
|
||||||
|
|
||||||
this._performUpgradeBackup();
|
this._performUpgradeBackup();
|
||||||
|
|
||||||
this._sessionInitialized = true;
|
this._sessionInitialized = true;
|
||||||
@ -521,13 +519,6 @@ let SessionStoreInternal = {
|
|||||||
}.bind(this));
|
}.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() {
|
_initPrefs : function() {
|
||||||
this._prefBranch = Services.prefs.getBranch("browser.");
|
this._prefBranch = Services.prefs.getBranch("browser.");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user