Reviewed by Mitz Pettel.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Nov 2006 21:58:41 +0000 (21:58 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Nov 2006 21:58:41 +0000 (21:58 +0000)
commit9d74196cf7d77e7bba4fed7996b147730adc6e16
tree64f1a5b00aecf6ee725440c84e5d72ca5285beb6
parenta030332963eeede8cf7517eeec5849837cb58772
    Reviewed by Mitz Pettel.

        Fixed http://bugs.webkit.org/show_bug.cgi?id=11710
        REGRESSION (r17906): Crash in WebCore::FrameMac

        Added null checks for EditorClient, since it can be NULL when the page
        has been destroyed. Removed external access to EditorClient, since it's
        an implementation detail of the Editor.

        No test case because this crash depends on window tear-down. Layout tests
        pass.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/EditorClient.h
WebCore/bridge/mac/FrameMac.mm
WebCore/dom/Document.cpp
WebCore/dom/Document.h
WebCore/editing/Editor.cpp
WebCore/editing/Editor.h
WebCore/editing/JSEditor.cpp
WebCore/loader/FrameLoader.cpp
WebCore/rendering/RenderTextControl.cpp