diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index c2f0cea853c..884400e7a86 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -9242,9 +9242,9 @@ PRBool NotifyListBoxBody(nsPresContext* aPresContext, // Just ignore tree tags, anyway we don't create any frames for them. if (aContainer->GetParent() && - (tag == nsLayoutAtoms::treechildren || - tag == nsLayoutAtoms::treeitem || - tag == nsLayoutAtoms::treerow || + (tag == nsXULAtoms::treechildren || + tag == nsXULAtoms::treeitem || + tag == nsXULAtoms::treerow || (namespaceID == kNameSpaceID_XUL && aUseXBLForms && ShouldIgnoreSelectChild(aContainer)))) return PR_TRUE;