diff --git a/dom/xbl/nsBindingManager.cpp b/dom/xbl/nsBindingManager.cpp index 75fd37eaa4a9..39037d3c64c0 100644 --- a/dom/xbl/nsBindingManager.cpp +++ b/dom/xbl/nsBindingManager.cpp @@ -245,14 +245,6 @@ nsBindingManager::ResolveTag(nsIContent* aContent, int32_t* aNameSpaceID) return aContent->NodeInfo()->NameAtom(); } -nsresult -nsBindingManager::GetAnonymousNodesFor(nsIContent* aContent, - nsIDOMNodeList** aResult) -{ - NS_IF_ADDREF(*aResult = GetAnonymousNodesFor(aContent)); - return NS_OK; -} - nsINodeList* nsBindingManager::GetAnonymousNodesFor(nsIContent* aContent) { diff --git a/dom/xbl/nsBindingManager.h b/dom/xbl/nsBindingManager.h index 30f785a3cf64..c5996111403c 100644 --- a/dom/xbl/nsBindingManager.h +++ b/dom/xbl/nsBindingManager.h @@ -26,7 +26,6 @@ struct ElementDependentRuleProcessorData; class nsIXPConnectWrappedJS; class nsAtom; -class nsIDOMNodeList; class nsIDocument; class nsIURI; class nsXBLDocumentInfo; @@ -90,7 +89,6 @@ public: * tags directly as kids of . This will only end up * returning a non-null list for nodes which have a binding attached. */ - nsresult GetAnonymousNodesFor(nsIContent* aContent, nsIDOMNodeList** aResult); nsINodeList* GetAnonymousNodesFor(nsIContent* aContent); nsresult ClearBinding(mozilla::dom::Element* aElement);