Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking

This commit is contained in:
mrbkap%gmail.com 2006-04-15 00:39:35 +00:00
Родитель 3fda3a292b
Коммит f36ff98d32
7 изменённых файлов: 0 добавлений и 18 удалений

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

@ -179,8 +179,6 @@ nsCommentNode::Clone(nsINodeInfo *aNodeInfo, PRBool aCloneText) const
void
nsCommentNode::List(FILE* out, PRInt32 aIndent) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRInt32 indx;
for (indx = aIndent; --indx >= 0; ) fputs(" ", out);

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

@ -3776,8 +3776,6 @@ nsGenericElement::GetAttrCount() const
void
nsGenericElement::List(FILE* out, PRInt32 aIndent) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRInt32 indent;
for (indent = aIndent; --indent >= 0; ) fputs(" ", out);

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

@ -233,8 +233,6 @@ nsTextNode::Clone(nsINodeInfo *aNodeInfo, PRBool aCloneText) const
void
nsTextNode::List(FILE* out, PRInt32 aIndent) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRInt32 index;
for (index = aIndent; --index >= 0; ) fputs(" ", out);
@ -250,8 +248,6 @@ nsTextNode::List(FILE* out, PRInt32 aIndent) const
void
nsTextNode::DumpContent(FILE* out, PRInt32 aIndent, PRBool aDumpAll) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
if(aDumpAll) {
PRInt32 index;
for (index = aIndent; --index >= 0; ) fputs(" ", out);

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

@ -1864,8 +1864,6 @@ nsGenericHTMLElement::ListAttributes(FILE* out) const
void
nsGenericHTMLElement::List(FILE* out, PRInt32 aIndent) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRInt32 index;
for (index = aIndent; --index >= 0; ) fputs(" ", out);
@ -1894,8 +1892,6 @@ void
nsGenericHTMLElement::DumpContent(FILE* out, PRInt32 aIndent,
PRBool aDumpAll) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRInt32 index;
for (index = aIndent; --index >= 0; ) fputs(" ", out);

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

@ -167,8 +167,6 @@ nsXMLCDATASection::Clone(nsINodeInfo *aNodeInfo, PRBool aCloneText) const
void
nsXMLCDATASection::List(FILE* out, PRInt32 aIndent) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRInt32 index;
for (index = aIndent; --index >= 0; ) fputs(" ", out);

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

@ -183,8 +183,6 @@ nsXMLProcessingInstruction::Clone(nsINodeInfo *aNodeInfo,
void
nsXMLProcessingInstruction::List(FILE* out, PRInt32 aIndent) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRInt32 index;
for (index = aIndent; --index >= 0; ) fputs(" ", out);

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

@ -1574,8 +1574,6 @@ rdf_Indent(FILE* out, PRInt32 aIndent)
void
nsXULElement::List(FILE* out, PRInt32 aIndent) const
{
NS_PRECONDITION(IsInDoc(), "bad content");
PRUint32 i;
rdf_Indent(out, aIndent);