From 1e4ba3e97e20bb7898347d0200efa4d69de6c20a Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Mon, 28 Apr 2014 06:15:08 -0700 Subject: [PATCH] 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. --- content/base/src/nsGenericDOMDataNode.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/base/src/nsGenericDOMDataNode.cpp b/content/base/src/nsGenericDOMDataNode.cpp index 41fb63435b4..04551d3c275 100644 --- a/content/base/src/nsGenericDOMDataNode.cpp +++ b/content/base/src/nsGenericDOMDataNode.cpp @@ -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)