Reviewed by Eric.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jan 2007 11:09:31 +0000 (11:09 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jan 2007 11:09:31 +0000 (11:09 +0000)
commitaa89cdc15bc067e600751f6e935bcaa3ae6d154b
tree9bff5043dc7e06e1382dd2b05b167154efce9f4d
parent54e1774d94fba900a29b0a7ae849f867cc7860ac
    Reviewed by Eric.

        <rdar://problem/4928646> REGRESSION: manual-tests/remove-input-file-onchange.html crashes

        * platform/FileChooser.h:
        (WebCore::FileChooser::disconnected): New method, so the RenderFileControl can tell when it's
        gotten disconected.
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::valueChanged): Avoid calling repainted() when onChange()
        handler destroyed us.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/FileChooser.h
WebCore/rendering/RenderFileUploadControl.cpp