Bug 1001587 - nsGenericDOMDataNode's Traverse method doesn't need to call nsBindingManager::Traverse. r=smaug

The stuff from nsBindingManager::Traverse that is used for data nodes
was removed in bug 796061, so it now just returns immediately for
non-elements, so we don't need to call it any more in data nodes.
This commit is contained in:
Andrew McCreight 2014-04-28 06:15:08 -07:00
parent 6b87148334
commit 1e4ba3e97e

View File

@ -102,8 +102,6 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsGenericDOMDataNode)
if (slots) {
slots->Traverse(cb);
}
tmp->OwnerDoc()->BindingManager()->Traverse(tmp, cb);
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsGenericDOMDataNode)