Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst

This commit is contained in:
David Zbarsky
2009-08-24 16:02:07 -04:00
parent 54e0ea8b06
commit aadd6cf119
81 changed files with 253 additions and 252 deletions

View File

@@ -400,7 +400,7 @@ AddTreeItemToTreeOwner(nsIDocShellTreeItem* aItem, nsIContent* aOwningContent,
nsAutoString value;
PRBool isContent = PR_FALSE;
if (aOwningContent->IsNodeOfType(nsINode::eXUL)) {
if (aOwningContent->IsXUL()) {
aOwningContent->GetAttr(kNameSpaceID_None, nsGkAtoms::type, value);
}