Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug

This commit is contained in:
Kyle Huey
2013-10-14 19:58:25 +08:00
parent d5b090adc9
commit da062a302a
44 changed files with 264 additions and 155 deletions

View File

@@ -1225,7 +1225,7 @@ FragmentOrElement::MarkNodeChildren(nsINode* aNode)
JS::ExposeObjectToActiveJS(o);
}
nsEventListenerManager* elm = aNode->GetListenerManager(false);
nsEventListenerManager* elm = aNode->GetExistingListenerManager();
if (elm) {
elm->MarkForCC();
}