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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/xml
From:       Maks Orlovich <maksim () kde ! org>
Date:       2005-11-30 22:01:12
Message-ID: 1133388072.051524.23691.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 484467 by orlovich:

Don't leak getComputedStyle info. Fixes one cause of this:
kdelibs/khtml/misc/loader.cpp:1314: static void khtml::Cache::clear(): Assertion \
`it.current()->canDelete()' failed. BUG:116599


 M  +0 -2      dom2_viewsimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/xml/dom2_viewsimpl.cpp #484466:484467
@@ -45,8 +45,6 @@
         return 0;
 
     CSSStyleDeclarationImpl* style = new RenderStyleDeclarationImpl( elt );
-    style->setParent( elt->getDocument()->elementSheet() );
-
     return style;
 }
 


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

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