Reviewed by Beth.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Dec 2005 23:50:36 +0000 (23:50 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Dec 2005 23:50:36 +0000 (23:50 +0000)
commit7948c46fece3e576ef131f469befb7924e4d9643
treeeb24a7046e48d2134934991a33197c5829fb7a60
parentaea7cf6029dce01930a7cfa96c70d658d0cce884
    Reviewed by Beth.

        Another fix for 4098083 to apply to sliders.

        <rdar://problem/4098083> REGRESSION (125-312): crash
        in [KWQTableView resignFirstResponder] selecting from JS menu
        (car4you.at, etc.)

        Since it is possible that a render widget's eventFilterObject
        has been destroyed even though the render widget is still ref-ed,
        we need to nil-check the eventFilterObject before we use it to get
        the eventFilter.

        * kwq/KWQSlider.mm:
        (-[KWQSlider becomeFirstResponder]): Added nil check.
        (-[KWQSlider resignFirstResponder]): Added nil check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-12-19
WebCore/kwq/KWQSlider.mm