[s]r=tor
xlib only - crash on ZDNet web benchmark
This commit is contained in:
mkaply%us.ibm.com 2001-07-04 03:37:30 +00:00
Родитель 751a09adce
Коммит 777a7b4ada
1 изменённых файлов: 16 добавлений и 11 удалений

Просмотреть файл

@ -130,21 +130,26 @@ void
nsWindow::UpdateIdle (void *data)
{
if (update_queue != nsnull) {
nsList *old_queue = update_queue;
nsListItem *tmp_list = old_queue->getHead();
nsList *old_queue;
nsListItem *tmp_list;
old_queue = update_queue;
update_queue = nsnull;
if (tmp_list != nsnull) {
while (tmp_list != nsnull)
{
nsWindow *window = (nsWindow *)tmp_list->getData();
window->Update();
window->mIsUpdating = PR_FALSE;
for( tmp_list = old_queue->getHead() ; tmp_list != nsnull ; tmp_list = tmp_list->getNext() )
{
nsWindow *window = NS_STATIC_CAST(nsWindow*,(tmp_list->getData()));
tmp_list = tmp_list->getNext();
}
window->mIsUpdating = PR_FALSE;
}
for( tmp_list = old_queue->getHead() ; tmp_list != nsnull ; tmp_list = tmp_list->getNext() )
{
nsWindow *window = NS_STATIC_CAST(nsWindow*,(tmp_list->getData()));
window->Update();
}
delete old_queue;
}
}