Reviewed by Justin.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Aug 2005 20:24:39 +0000 (20:24 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Aug 2005 20:24:39 +0000 (20:24 +0000)
commit8351e1d930555d54edfdee17072518ea82103758
tree9274d74fe4f65d0df3d88f682ab154bfb02a1286
parentb256b67ddf3af576833f86b0f8404fb115b35e78
    Reviewed by Justin.

        <rdar://problem/4221384> Denver Regression: stickies widget crashed on 8F15 when pasting text

        Test cases added:  None.  Problem triggered by simple paste, which lots of the
        editing tests already do, but also required particular memory layout/cleanup state, which
        is not specifiable in our tests.

        * khtml/editing/markup.cpp:
        (khtml::createFragmentFromText):
        Ref the new paragraph element right away, rather than allocating more memory first.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/markup.cpp