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 327aa3ac00
commit 630c8fc41e
80 changed files with 242 additions and 241 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);
}