зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d978f02ab1
Коммит
d53f9a35f8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче