Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.

This commit is contained in:
Boris Zbarsky
2009-08-24 20:51:57 -04:00
parent 48f6e6e57a
commit c95cebf89b
80 changed files with 241 additions and 242 deletions

View File

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