WebCore:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2007 21:56:40 +0000 (21:56 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2007 21:56:40 +0000 (21:56 +0000)
commit73eafa854fc326aa3f822d08ffd6e3cc83c2a079
tree1f82a9d3b883b9c2d150200d79183779a7efae60
parent081cab911e27486b6ebae6f3b63816838b36aa3c
WebCore:

        Reviewed by Adam.

        <rdar://problem/5418891> CrashTracer: [USER] 1 crash in Mail at -[WebViewEditor webView:shouldInsertText:replacingDOMRange:givenAction:]

        * editing/BreakBlockquoteCommand.cpp:
        (WebCore::BreakBlockquoteCommand::doApply): We're reusing the topBlockquote
        variable.  Null it out first.  If there is no new topBlockquote and we don't null
        it out first, we'll assume that there was a new one and crash.

LayoutTests:

        Reviewed by Adam.

        <rdar://problem/5418891> CrashTracer: [USER] 1 crash in Mail at -[WebViewEditor webView:shouldInsertText:replacingDOMRange:givenAction:]

        * editing/inserting/5418891.html: Added.
        * platform/mac/editing/inserting: Added.
        * platform/mac/editing/inserting/5418891-expected.checksum: Added.
        * platform/mac/editing/inserting/5418891-expected.png: Added.
        * platform/mac/editing/inserting/5418891-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/inserting/5418891.html [new file with mode: 0644]
LayoutTests/platform/mac/editing/inserting/5418891-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/editing/inserting/5418891-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/editing/inserting/5418891-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/BreakBlockquoteCommand.cpp