Bug 1079185 - Using GetFlattenedTreeParent in GetParentForNode. r=bz