Bug 1526981 - [1.1] Remove obsolete module import. r=kmag

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Eugen Sawin 2019-02-20 16:17:56 +00:00
Родитель ff4ed47d38
Коммит 01058ecf82
1 изменённых файлов: 2 добавлений и 5 удалений

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

@ -303,11 +303,8 @@ class ModuleInfo {
}
if (aPhase.resource && !this._impl) {
const scope = {};
const global = ChromeUtils.import(aPhase.resource, scope);
const tag = this._name.replace("GeckoView", "");
GeckoViewUtils.initLogging(tag, global);
this._impl = new scope[this._name](this);
const exports = ChromeUtils.import(aPhase.resource);
this._impl = new exports[this._name](this);
}
if (aPhase.frameScript && !this._contentModuleLoaded) {