Reviewed by Maciej.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 5 Feb 2006 11:48:25 +0000 (11:48 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 5 Feb 2006 11:48:25 +0000 (11:48 +0000)
commit0cc35c6ee2bec4ebf63b33d1d42cfbea56c8ca46
tree33dd7d36c412d1ae94b34316e3a417f51e2deddf
parentf221a53f995e36d7ccad778a42cf06157e7b1384
    Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7048
          Reproducible crash when onscroll handler deletes the layer or its object

        Test: onscroll-layer-self-destruct.html

        * rendering/render_layer.cpp: (WebCore::RenderLayer::scrollToOffset):
        Don't send the scroll event until after we've done everything else we
        need to do.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/rendering/render_layer.cpp