зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a3572f0028
Коммит
c3c054cb1e
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче