nsFrameState state; frame->GetFrameState(&state);
nsSplitterFrameInner::EnsureOrient(){  nsIFrame* frame = nsnull;  mParentBox->GetFrame(&frame);  nsFrameState state;  frame->GetFrameState(&state);  PRBool isHorizontal = !(state & NS_STATE_IS_HORIZONTAL);  if (isHorizontal)      mOuter->mState |= NS_STATE_IS_HORIZONTAL;  else      mOuter->mState &= ~NS_STATE_IS_HORIZONTAL;}