Bug 1431214 - removed _setCurrentURI function as it was unused r=mikedeboer

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Wendy Wigg 2019-12-04 10:59:42 +00:00
Родитель d978f02ab1
Коммит d53f9a35f8
1 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -1013,20 +1013,6 @@
this._wrapURIChangeCall(() => this.webNavigation.gotoIndex(aIndex));
}
/**
* Used by session restore to ensure that currentURI is set so
* that switch-to-tab works before the tab is fully
* restored. This function also invokes onLocationChanged
* listeners in tabbrowser.xml.
*/
_setCurrentURI(aURI) {
if (this.isRemoteBrowser) {
this._remoteWebProgressManager.setCurrentURI(aURI);
} else {
this.docShell.setCurrentURI(aURI);
}
}
preserveLayers(preserve) {
if (!this.isRemoteBrowser) {
return;