fixed non-Debug build by making LengthOf part of both debug and non-Debug builds

This commit is contained in:
buster%netscape.com 1998-07-30 19:54:17 +00:00
Родитель 40be51d3e3
Коммит d0afc21169
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -293,13 +293,13 @@ protected:
virtual void WillDeleteNextInFlowFrame(nsIFrame* aNextInFlow); virtual void WillDeleteNextInFlowFrame(nsIFrame* aNextInFlow);
#ifdef NS_DEBUG
/** /**
* Return the number of children in the sibling list, starting at aChild. * Return the number of children in the sibling list, starting at aChild.
* Returns zero if aChild is nsnull. * Returns zero if aChild is nsnull.
*/ */
static PRInt32 LengthOf(nsIFrame* aChild); static PRInt32 LengthOf(nsIFrame* aChild);
#ifdef NS_DEBUG
/** /**
* Returns PR_TRUE if aChild is a child of this frame. * Returns PR_TRUE if aChild is a child of this frame.
*/ */