Bug 1478275 part 1 - Remove unused CompartmentPrivate::isAddonCompartment. r=bholley

This commit is contained in:
Jan de Mooij 2018-07-26 10:57:15 +02:00
Родитель 2264882701
Коммит 1f193575a4
2 изменённых файлов: 0 добавлений и 6 удалений

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

@ -215,7 +215,6 @@ CompartmentPrivate::CompartmentPrivate(JS::Compartment* c)
, isWebExtensionContentScript(false)
, allowCPOWs(false)
, isContentXBLCompartment(false)
, isAddonCompartment(false)
, universalXPConnectEnabled(false)
, forcePermissiveCOWs(false)
, wasNuked(false)

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

@ -2873,11 +2873,6 @@ public:
// such a compartment is a content XBL scope.
bool isContentXBLCompartment;
// True if EnsureAddonCompartment has been called for this compartment.
// Note that this is false for extensions that ship with the browser, like
// browser/extensions/activity-stream.
bool isAddonCompartment;
// This is only ever set during mochitest runs when enablePrivilege is called.
// It's intended as a temporary stopgap measure until we can finish ripping out
// enablePrivilege. Once set, this value is never unset (i.e., it doesn't follow