Bug 1522546 - Make GeckoView use browser.remoteType instead of getting at the attribute directly. r=snorp

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Conley 2019-01-31 19:54:21 +00:00
Родитель 89bfe39629
Коммит c2ea02dd67
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -109,7 +109,7 @@ var ModuleManager = {
updateRemoteTypeForURI(aURI) {
const currentType =
this.browser.getAttribute("remoteType") || E10SUtils.NOT_REMOTE;
this.browser.remoteType || E10SUtils.NOT_REMOTE;
const remoteType = E10SUtils.getRemoteTypeForURI(
aURI, this.settings.useMultiprocess,
currentType, this.browser.currentURI);