| Summary: | Clean up interface to Font::expansionOpportunityCount() | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||
| Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, dino, esprehn+autocc, glenn, jonlee, koivisto, kondapallykalyan, simon.fraser, thorton, zalan | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Myles C. Maxfield
2014-10-02 13:13:10 PDT
Created attachment 239132 [details]
Patch
This needs to be rebaselined. **** The code needs to be rebased Created attachment 239231 [details]
Patch
Comment on attachment 239231 [details] Patch Clearing flags on attachment: 239231 Committed r174297: <http://trac.webkit.org/changeset/174297> All reviewed patches have been landed. Closing bug. Comment on attachment 239231 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239231&action=review > Source/WebCore/rendering/RenderText.cpp:1533 > +StringView RenderText::stringView(int start, int stop) const > +{ > + if (is8Bit()) > + return StringView(characters8() + start, stop - start); > + return StringView(characters16() + start, stop - start); > +} This function either needs assertions about start and stop being reasonable values, or code to clamp start and stop to make them reasonable values. Comment on attachment 239231 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239231&action=review >> Source/WebCore/rendering/RenderText.cpp:1533 >> +} > > This function either needs assertions about start and stop being reasonable values, or code to clamp start and stop to make them reasonable values. Addressed in r174373. |