[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/khtml2/misc
From:       Nikolas Zimmermann <wildfox () kde ! org>
Date:       2005-06-23 9:11:16
Message-ID: 1119517876.545897.14760.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 428132 by wildfox:

These verbose refcount debugging is not needed anymore -> all seems to operate fine.


 M  +3 -5      HTMLParser.cc  


--- trunk/kdenonbeta/khtml2/misc/HTMLParser.cc #428131:428132
@@ -87,8 +87,8 @@
 {
 public:
 	StackElement(int _id, int _level, KDOM::NodeImpl *_node, bool _inline, StackElement \
                * _next)
-	: id(_id), level(_level), m_inline(_inline), node(_node), next(_next) { \
node->ref(); kdDebug() << "REFING NODE: " << node << " TO REFCOUNT: " << \
                node->refCount() << endl; }
-	~StackElement() {  kdDebug() << "DEREFING NODE: " << node << " WITH REFCOUNT: " << \
node->refCount() << endl; node->deref(); } +	: id(_id), level(_level), \
m_inline(_inline), node(_node), next(_next) { node->ref(); } +	~StackElement() { \
node->deref(); }  
 	int id, level;
 	bool m_inline;
@@ -271,7 +271,7 @@
 	// the tokenizer needs the feedback for space discarding
 	if(tagPriority[t->tid] == 0)
 		t->flat = true;
-kdDebug() << "REF BEFORE INSERT: " << n->refCount() << endl;
+
 	if(!insertNode(n, t->flat))
 	{
 		// we couldn't insert the node...
@@ -298,8 +298,6 @@
 		
 		delete n;
 	}
-kdDebug() << "REF AFTER INSERT: " << n->refCount() << endl;
-
 }
 
 bool HTMLParser::insertNode(KDOM::NodeImpl *n, bool flat)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic