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

List:       kde-commits
Subject:    KDE/kdelibs/khtml/html
From:       Maks Orlovich <maksim () kde ! org>
Date:       2010-06-25 15:11:54
Message-ID: 20100625151154.0D970AC8DD () svn ! kde ! org
[Download RAW message or body]

SVN commit 1142743 by orlovich:

Need to deep copy here -- ChildFrame tree shouldn't be sharing memory 
with the DOM.



 M  +1 -1      html_objectimpl.cpp  


--- trunk/KDE/kdelibs/khtml/html/html_objectimpl.cpp #1142742:1142743
@@ -177,7 +177,7 @@
         case ATTR_CODETYPE:
 	    if (attr->val()) {
 	      DOM::DOMStringImpl *stringImpl = attr->val();
-	      QString val = QString::fromRawData( stringImpl->s, stringImpl->l );
+                QString val = QString( stringImpl->s, stringImpl->l );
 	      setServiceType( val );
               setNeedComputeContent();
 	    }
[prev in list] [next in list] [prev in thread] [next in thread] 

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