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:
@@ -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
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user