Back out Neil's patch from bug 414747 due to test failures.

This commit is contained in:
reed%reedloden.com 2008-02-04 07:34:30 +00:00
Родитель 8df6bbbfe3
Коммит bf52cc92b8
1 изменённых файлов: 3 добавлений и 6 удалений

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

@ -219,7 +219,6 @@ nsXULDocument::~nsXULDocument()
// Destroy our broadcaster map.
if (mBroadcasterMap) {
NS_WARN_IF_FALSE(mBroadcasterMap->entryCount == 0, "Leaking BroadcastListeners");
PL_DHashTableDestroy(mBroadcasterMap);
}
@ -1005,11 +1004,9 @@ nsXULDocument::AttributeChanged(nsIDocument* aDocument,
}
}
if ((aAttribute == nsGkAtoms::observes) || (aAttribute == nsGkAtoms::command)) {
// checks for modifications in broadcasters
PRBool listener, resolved;
CheckBroadcasterHookup(aElement, &listener, &resolved);
}
// checks for modifications in broadcasters
PRBool listener, resolved;
CheckBroadcasterHookup(aElement, &listener, &resolved);
// See if there is anything we need to persist in the localstore.
//