Bug 52715

Summary: Improve WebCore/rendering/break_lines.cpp
Product: WebKit Reporter: Xianzhu Wang <phnixwxz>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: edwardjsabol, mitz, wangxianzhu
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Xianzhu Wang 2011-01-19 06:07:38 PST
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())
Comment 1 Xianzhu Wang 2011-03-28 19:47:38 PDT

*** This bug has been marked as a duplicate of bug 54912 ***