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

This commit is contained in:
Kyle Huey
2013-10-14 11:10:44 +08:00
parent 2b6faaaef0
commit 4d5f700354
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();
}