Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user