Backed out changeset 0eb4a7009f43 (bug 1401379)

This commit is contained in:
Sebastian Hengst 2017-10-02 19:57:17 +02:00
Родитель 52601bea95
Коммит 5f1ccbc275
2 изменённых файлов: 1 добавлений и 7 удалений

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

@ -508,7 +508,7 @@ mozilla::dom::TraceBlackJS(JSTracer* aTrc, uint32_t aGCNumber, bool aIsShutdownG
if (windowsById) {
for (auto iter = windowsById->Iter(); !iter.Done(); iter.Next()) {
nsGlobalWindow* window = iter.Data();
if (!window->IsCleanedUp() && window->IsOuterWindow()) {
if (window->GetDocShell() && window->IsOuterWindow()) {
window->TraceGlobalJSObject(aTrc);
EventListenerManager* elm = window->GetExistingListenerManager();
if (elm) {

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

@ -668,12 +668,6 @@ public:
mCleanedUp);
}
bool
IsCleanedUp() const
{
return mCleanedUp;
}
bool
HadOriginalOpener() const
{