Wrapped VerifyLines() inside of a NS_DEBUG #define

git-svn-id: svn://10.0.0.236/trunk@1384 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy
1998-05-11 18:54:15 +00:00
parent b83e1077b0
commit 66c14fdbb1
8 changed files with 40 additions and 0 deletions

View File

@@ -327,14 +327,19 @@ nsBlockFrame::List(FILE* out, PRInt32 aIndent) const
NS_METHOD
nsBlockFrame::VerifyTree() const
{
#ifdef NS_DEBUG
nsresult rv = nsHTMLContainerFrame::VerifyTree();
if (NS_OK != rv) {
return rv;
}
rv = VerifyLines(PR_TRUE);
#else
rv = NS_OK;
#endif
return rv;
}
#ifdef NS_DEBUG
nsresult
nsBlockFrame::VerifyLines(PRBool aFinalCheck) const
{
@@ -381,6 +386,7 @@ nsBlockFrame::VerifyLines(PRBool aFinalCheck) const
return rv;
}
#endif
//----------------------------------------------------------------------