Bug 24494 - crash when deleting at end of document and merging paragraphs
Summary: crash when deleting at end of document and merging paragraphs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2009-03-10 10:13 PDT by Darin Adler
Modified: 2009-03-10 12:32 PDT (History)
0 users

See Also:


Attachments
patch (5.28 KB, patch)
2009-03-10 10:18 PDT, Darin Adler
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2009-03-10 10:13:00 PDT
We have some crash reports that are due to paragraph merging at the end of a document. Easy to fix.
Comment 1 Darin Adler 2009-03-10 10:13:19 PDT
<rdar://problem/6571537>
Comment 2 Darin Adler 2009-03-10 10:18:48 PDT
Created attachment 28438 [details]
patch
Comment 3 Alexey Proskuryakov 2009-03-10 10:53:05 PDT
Comment on attachment 28438 [details]
patch

r=me

This function looks like a perfect candidate for using an early return.
Comment 4 Darin Adler 2009-03-10 12:32:09 PDT
http://trac.webkit.org/changeset/41562