Bug 1447392 - Remove now-unused overload of nsBindingManager::GetAnonymousNodesFor. r=bz

MozReview-Commit-ID: EvlBfOl9q1Q

--HG--
extra : rebase_source : cd50e567d7502df40ef4467abc8f4a930a7ac92c
This commit is contained in:
Adrian Wielgosik 2018-03-20 19:03:50 +01:00
Родитель af8740d569
Коммит 4b97147015
2 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -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)
{

Просмотреть файл

@ -26,7 +26,6 @@
struct ElementDependentRuleProcessorData;
class nsIXPConnectWrappedJS;
class nsAtom;
class nsIDOMNodeList;
class nsIDocument;
class nsIURI;
class nsXBLDocumentInfo;
@ -90,7 +89,6 @@ public:
* <children> tags directly as kids of <content>. 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);