From kde-commits Wed Dec 07 02:40:44 2005 From: Maks Orlovich Date: Wed, 07 Dec 2005 02:40:44 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/khtml/html Message-Id: <1133923244.872691.4473.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=113392325922667 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(m_render)->updateWidget(); - needWidgetUpdate = false; } } void HTMLIFrameElementImpl::recalcStyle( StyleChange ch ) { if (needWidgetUpdate) { + needWidgetUpdate = false; if(m_render) static_cast(m_render)->updateWidget(); - needWidgetUpdate = false; } HTMLElementImpl::recalcStyle( ch ); }