Bug 1172784 (part 1) - Remove unused argument from UnmarkGrayJSListenersInCCGenerationDocuments(). r=mccr8.

This is possible because ListenerEnumerator() doesn't do anything with the
|aArg| argument.

--HG--
extra : rebase_source : f0f489c3adfc21e249fe7ece2b7dbdbaafae406e
This commit is contained in:
Nicholas Nethercote 2015-06-10 13:07:40 -07:00
Родитель a3572f0028
Коммит c3c054cb1e
3 изменённых файлов: 4 добавлений и 4 удалений

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

@ -432,7 +432,7 @@ nsCCUncollectableMarker::Observe(nsISupports* aSubject, const char* aTopic,
switch(sFSState) {
case eUnmarkJSEventListeners: {
nsContentUtils::UnmarkGrayJSListenersInCCGenerationDocuments(sGeneration);
nsContentUtils::UnmarkGrayJSListenersInCCGenerationDocuments();
break;
}
case eUnmarkMessageManagers: {

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

@ -4002,11 +4002,11 @@ ListenerEnumerator(PLDHashTable* aTable, PLDHashEntryHdr* aEntry,
}
void
nsContentUtils::UnmarkGrayJSListenersInCCGenerationDocuments(uint32_t aGeneration)
nsContentUtils::UnmarkGrayJSListenersInCCGenerationDocuments()
{
if (sEventListenerManagersHash) {
PL_DHashTableEnumerate(sEventListenerManagersHash, ListenerEnumerator,
&aGeneration);
nullptr);
}
}

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

@ -1124,7 +1124,7 @@ public:
static mozilla::EventListenerManager*
GetExistingListenerManagerForNode(const nsINode* aNode);
static void UnmarkGrayJSListenersInCCGenerationDocuments(uint32_t aGeneration);
static void UnmarkGrayJSListenersInCCGenerationDocuments();
/**
* Remove the eventlistener manager for aNode.