[KDE4] Bug in khtml::RenderObject::markedForRepaint

Harri Porten porten at froglogic.com
Sat Mar 10 14:54:02 GMT 2007


On Sat, 10 Mar 2007, Germain Garand wrote:

> Le Jeudi 08 Mars 2007 17:58, Harri Porten a écrit :
>> I can't try right now but a good candidate for a change could be
>> Q3PtrList->QList change (r634714).

I did a quick try going back to 634713 but this broke other dependencies 
so I did not get around testing the theory.

> Germain said it himself in the log
>> message (and I can confirm from my own experience) that this replacement
>> is non-trivial as QPtrList was way more forgiving.
>
> that's likely indeed. I have observed similar crashes that point to mutable
> list iterators. They don't support appends being made directly to the list
> during iteration, which is needed for positioned objects.
>
> I'm afraid I need to add a mutable iterator holder in RenderBlock.
> Sadly, Q3PtrList was a perfect fit.

There still is Apple's DeprecatedPtrList class that we could revert to! :)

Harri.


More information about the kfm-devel mailing list