Commit 4874ebbb authored by ap@webkit.org's avatar ap@webkit.org
Browse files

Reviewed by Darin.

        https://bugs.webkit.org/show_bug.cgi?id=19723
        REGRESSION(r34648): Some SVG tests crash when running under --threaded

        * rendering/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::destroy): Do not attempt
        to paint during document destruction, because rendering structures are not kept in a
        consistent state then.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 58630be5
2008-06-24 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin.
https://bugs.webkit.org/show_bug.cgi?id=19723
REGRESSION(r34648): Some SVG tests crash when running under --threaded
* rendering/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::destroy): Do not attempt
to paint during document destruction, because rendering structures are not kept in a
consistent state then.
2008-06-24 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
 
Reviewed by Darin.
......@@ -162,8 +162,10 @@ VisiblePosition RenderSVGInlineText::positionForCoordinates(int x, int y)
void RenderSVGInlineText::destroy()
{
if (!documentBeingDestroyed()) {
setNeedsLayoutAndPrefWidthsRecalc();
repaint();
}
RenderText::destroy();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment