diff --git a/layout/xul/base/src/nsXULTreeFrame.cpp b/layout/xul/base/src/nsXULTreeFrame.cpp index 95b182b43db..a192c6e63cd 100644 --- a/layout/xul/base/src/nsXULTreeFrame.cpp +++ b/layout/xul/base/src/nsXULTreeFrame.cpp @@ -238,7 +238,7 @@ nsXULTreeFrame::GetIndexOfItem(nsIPresContext* aPresContext, nsIDOMElement* aEle nsCOMPtr content(do_QueryInterface(aElement)); nsCOMPtr root; treeOuterGroup->GetContent(getter_AddRefs(root)); - return treeOuterGroup->IndexOfItem(root, content, PR_TRUE, PR_TRUE, aResult); + return treeOuterGroup->IndexOfItem(root, content, PR_FALSE, PR_TRUE, aResult); } /* void getNumberOfVisibleRows (); */