Bug 55139

Summary: [Qt] Remove bogus optimizations in TextBreakIteratorQt
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: christopher.reiss, hausmann, qt, stawel
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch kenneth: review+

Description Andreas Kling 2011-02-24 06:38:43 PST
TextBreakIteratorQt is currently quite broken, see bug 46695 for more details.
While we wait for an ideal fix, let's remove the optimizations that are causing the crashiness.
Comment 1 Andreas Kling 2011-02-24 06:40:08 PST
Created attachment 83646 [details]
Proposed patch
Comment 2 Simon Hausmann 2011-02-24 07:01:18 PST
For the record: Move the deep string copy until after the comparision fails, to avoid a deep copy when we hit the "cache" :)
Comment 3 Andreas Kling 2011-02-24 07:17:31 PST
(In reply to comment #2)
> For the record: Move the deep string copy until after the comparision fails, to avoid a deep copy when we hit the "cache" :)

I'm a stupidface. Of course. :)
Comment 4 Andreas Kling 2011-02-24 08:09:34 PST
Committed r79567: <http://trac.webkit.org/changeset/79567>
Comment 5 Andreas Kling 2011-02-25 06:22:43 PST
*** Bug 55215 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Kling 2011-05-27 02:09:12 PDT
*** Bug 61619 has been marked as a duplicate of this bug. ***