Reviewed by Alice Liu.
authorjustin.garcia@apple.com <justin.garcia@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2008 20:40:34 +0000 (20:40 +0000)
committerjustin.garcia@apple.com <justin.garcia@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2008 20:40:34 +0000 (20:40 +0000)
commit24442b3cdafd260ba43656e6e23622a78408a99a
treede6aa103d16eeca9dcbfc3e553795efbff5d0fd0
parent9008f42674328bfdeb0411ea706b11548ee2a552
    Reviewed by Alice Liu.

        <rdar://problem/5658603> Crash in InsertNodeBefore::doUnapply() on Undo in Yahoo Mail
        <rdar://problem/5658709> Crash in RenderView::setSelection on Undo in Yahoo Mail

        Make sure we have an updated layout before we perform any editing work.

        * editing/EditCommand.cpp:
        (WebCore::EditCommand::apply):
        (WebCore::EditCommand::unapply):
        (WebCore::EditCommand::reapply):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/editing/EditCommand.cpp