Bug 146131
| Summary: | Migrate break_lines.h to unsigned optionals | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
| Component: | Layout and Rendering | Assignee: | Myles C. Maxfield <mmaxfield> |
| Status: | NEW | ||
| Severity: | Normal | CC: | andersca |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Myles C. Maxfield
Currently, we use ints with a -1 sentinel value. Instead, we should implement a special unsigned optional type which still uses -1 as its sentinel (because using a regular optional would cause a performance regression)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
Look at m_nextBreakablePosition in InlineIterator