if (mOuter->mInner->mHorizontal)
if (mOuter->mState & NS_STATE_IS_HORIZONTAL)
nsBoxDebugInner::DrawLine(nsIRenderingContext& aRenderingContext, nscoord x1, nscoord y1, nscoord x2, nscoord y2){    if (mOuter->mInner->mHorizontal)       aRenderingContext.DrawLine(x1,y1,x2,y2);    else       aRenderingContext.DrawLine(y1,x1,y2,x2);}