if (value.EqualsIgnoreCase("before"))
if (value.Equals(NS_LITERAL_STRING("before")))
nsSplitterFrameInner::GetCollapseDirection(){    nsString value;    if (NS_CONTENT_ATTR_HAS_VALUE == mOuter->mContent->GetAttr(kNameSpaceID_None, nsXULAtoms::collapse, value))    {     if (value.EqualsIgnoreCase("before"))         return Before;     else if (value.EqualsIgnoreCase("after"))         return After;     else        return None;    } else {        return None;    }}