Fix for 4028999, safari crashes when resetting if mallocsribble is on. Clip rects...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Mar 2005 01:45:11 +0000 (01:45 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Mar 2005 01:45:11 +0000 (01:45 +0000)
commit92185fc225d91752878dfd775f1869b93fe408b9
treee1b262e12e363b22df3a3a7a0a8f911c89b67eff
parentfb805b60a20095f08a6cd4c0574f8c6946224f09
Fix for 4028999, safari crashes when resetting if mallocsribble is on.  Clip rects were being cleared using dead
render objects.  Change the ordering.

        Reviewed by rjw

        * khtml/rendering/render_box.cpp:
        (RenderBox::detach):
        * khtml/rendering/render_layer.cpp:
        (RenderLayer::~RenderLayer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_box.cpp
WebCore/khtml/rendering/render_layer.cpp