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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/html
From:       Maks Orlovich <maksim () kde ! org>
Date:       2005-12-07 2:40:44
Message-ID: 1133923244.872691.4473.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 486202 by orlovich:

Mark ourselves as updated as soon as we initiate the update, so we don't reenter \
processObjectRequest willy-nilly for  no good reason whatsoever. Should fix #91004.
BUG:91004


 M  +2 -2      html_baseimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/html_baseimpl.cpp #486201:486202
@@ -626,16 +626,16 @@
         if(w && (name.isEmpty() || w->part()->frameExists( name.string() )))
             name = DOMString(w->part()->requestFrameName());
 
+        needWidgetUpdate = false;
         static_cast<RenderPartObject*>(m_render)->updateWidget();
-        needWidgetUpdate = false;
     }
 }
 
 void HTMLIFrameElementImpl::recalcStyle( StyleChange ch )
 {
     if (needWidgetUpdate) {
+        needWidgetUpdate = false;
         if(m_render)  static_cast<RenderPartObject*>(m_render)->updateWidget();
-        needWidgetUpdate = false;
     }
     HTMLElementImpl::recalcStyle( ch );
 }


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

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