LengthOf defined in both debug and non-debug builds

This commit is contained in:
buster%netscape.com 1998-07-31 01:40:21 +00:00
parent 80da8477a1
commit 1ed0f3ea0a

View File

@ -1094,9 +1094,6 @@ NS_METHOD nsContainerFrame::VerifyTree() const
return NS_OK;
}
/////////////////////////////////////////////////////////////////////////////
#ifdef NS_DEBUG
PRInt32 nsContainerFrame::LengthOf(nsIFrame* aFrame)
{
PRInt32 result = 0;
@ -1109,6 +1106,10 @@ PRInt32 nsContainerFrame::LengthOf(nsIFrame* aFrame)
return result;
}
/////////////////////////////////////////////////////////////////////////////
#ifdef NS_DEBUG
PRBool nsContainerFrame::IsChild(const nsIFrame* aChild) const
{
// Check the geometric parent