Bug 52715
| Summary: | Improve WebCore/rendering/break_lines.cpp | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Xianzhu Wang <phnixwxz> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | edwardjsabol, mitz, wangxianzhu |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Xianzhu Wang
Planned improvements:
1. Make the name conform to the style guide (LineBreakLocator.cpp may be better)
2. Create a class LineBreakLocator to hold the fixed parameters during iteration
3. Reduce the unnecessary invocations of lineBreakIterator(str, len) (which in turn calls ubrk_setText())
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Xianzhu Wang
*** This bug has been marked as a duplicate of bug 54912 ***