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

List:       kde-commits
Subject:    kdelibs/khtml/xml
From:       Zack Rusin <zack () kde ! org>
Date:       2004-06-06 22:28:33
Message-ID: 20040606222833.8426F126D6 () office ! kde ! org
[Download RAW message or body]

CVS commit by zrusin: 

The chances of hitting that were pretty remote. Well done Leo :)
It'd be a good idea to extract the pending stylesheet stuff right to 
cachedcssstylesheet though.

CCMAIL: Leo Savernik <l.savernik@aon.at>


  M +1 -1      dom_xmlimpl.cpp   1.26


--- kdelibs/khtml/xml/dom_xmlimpl.cpp  #1.25:1.26
@@ -377,6 +377,6 @@ void ProcessingInstructionImpl::checkSty
                 m_cachedSheet = \
getDocument()->docLoader()->requestStyleSheet(getDocument()->completeURL(href.string()), \
QString::null);  if (m_cachedSheet) {
+                    getDocument()->addPendingSheet(); //before ref, because during \
the ref it might load!  m_cachedSheet->ref( this );
-                    getDocument()->addPendingSheet();
                 }
             }


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

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