[Webkit-unassigned] [Bug 69296] REGRESSION (r95852?): Disappearing Border on bugs.webkit.org attachments <table>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 08:16:21 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=69296





--- Comment #7 from Konstantin Shcheglov <scheglov at google.com>  2011-10-05 08:16:21 PST ---
Looks like memory management problem.

RenderTable::recalcCollapsedBorders() remembers Vector of CollapsedBorderValue, which holds _pointer_ on BorderValue.

However sometimes Element::recalcStyle(StyleChange change) replaces full RenderStyle, and this causes that remembered BorderValue pointer starts pointing nowhere, and sometimes its style changed to 0, and then border is not painted.

BorderValue is remembered in RenderStyle by value, so we can not use RefPtr. So, I'm going to remember BorderValue in CollapsedBorderValue also by value.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list